Operator implicit operator
implicit operator BsonObjectId(ObjectId)
Converts an ObjectId to a BsonObjectId.
public static implicit operator BsonObjectId(ObjectId value)
Parameters
value
ObjectIdAn ObjectId.
Returns
- BsonObjectId
A BsonObjectId.