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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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