Constructor BsonObjectId
BsonObjectId(ObjectId)
Initializes a new instance of the BsonObjectId class.
public BsonObjectId(ObjectId value)
Parameters
valueObjectIdThe value.
Initializes a new instance of the BsonObjectId class.
public BsonObjectId(ObjectId value)
value ObjectIdThe value.