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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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