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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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