Gets the Id of the document.
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
Syntaxpublic BsonValue Id { get; }
Public ReadOnly Property Id As BsonValue
Get
member Id : BsonValue with get
Property Value
Type:
BsonValue
See Also