Property IdAsBsonValue

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GridFS

Assembly

MongoDB.Driver.dll

IdAsBsonValue

Gets the identifier as a BsonValue.

[Obsolete("All new GridFS files should use an ObjectId as the Id.")]
public BsonValue IdAsBsonValue { get; }

Property Value

BsonValue

The identifier as a BsonValue.