Click or drag to resize

GridFSFileInfoIdAsBsonValue Property

Note: This API is now obsolete.

Gets the identifier as a BsonValue.

Namespace:  MongoDB.Driver.GridFS
Assembly:  MongoDB.Driver.GridFS (in MongoDB.Driver.GridFS.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
[ObsoleteAttribute("All new GridFS files should use an ObjectId as the Id.")]
public BsonValue IdAsBsonValue { get; }

Property Value

Type: BsonValue
The identifier as a BsonValue.
See Also