Click or drag to resize

CollectionNamespace Constructor (String, String)

Initializes a new instance of the CollectionNamespace class.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public CollectionNamespace(
	string databaseName,
	string collectionName
)

Parameters

databaseName
Type: SystemString
The name of the database.
collectionName
Type: SystemString
The name of the collection.
See Also