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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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