Table of Contents

Class CollectionNamespace

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Represents a collection namespace.

public sealed class CollectionNamespace : IEquatable<CollectionNamespace>
Inheritance
CollectionNamespace
Implements
Inherited Members

Constructors

CollectionNamespace(DatabaseNamespace, string)

Initializes a new instance of the CollectionNamespace class.

CollectionNamespace(string, string)

Initializes a new instance of the CollectionNamespace class.

Properties

CollectionName

Gets the name of the collection.

DatabaseNamespace

Gets the database namespace.

FullName

Gets the collection full name.

Methods

Equals(CollectionNamespace)

Indicates whether the current object is equal to another object of the same type.

Equals(object)

Determines whether the specified object is equal to the current object.

FromFullName(string)

Creates a new instance of the CollectionNamespace class from a collection full name.

GetHashCode()

Serves as the default hash function.

IsValid(string)

Determines whether the specified collection name is valid.

ToString()

Returns a string that represents the current object.