Property IdAsBsonValue
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
IdAsBsonValue
Gets the identifier as a BsonValue.
[Obsolete("All new GridFS files should use an ObjectId as the Id.")]
public BsonValue IdAsBsonValue { get; }
Property Value
The identifier as a BsonValue.