Table of Contents

Class CollectionNamespace

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Core.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)
Equals(object)
FromFullName(string)

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

GetHashCode()
IsValid(string)

Determines whether the specified collection name is valid.

ToString()