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.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
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