Table of Contents

Operator implicit operator

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

implicit operator BsonObjectId(ObjectId)

Converts an ObjectId to a BsonObjectId.

public static implicit operator BsonObjectId(ObjectId value)

Parameters

value ObjectId

An ObjectId.

Returns

BsonObjectId

A BsonObjectId.