Click or drag to resize

JsonWriterWriteObjectId Method

Writes a BSON ObjectId to the writer.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public override void WriteObjectId(
	ObjectId objectId
)

Parameters

objectId
Type: MongoDB.BsonObjectId
The ObjectId.

Implements

IBsonWriterWriteObjectId(ObjectId)
See Also