Click or drag to resize
BsonDocumentWriterWriteObjectId Method
Writes a BSON ObjectId to the writer.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
Syntax
public override void WriteObjectId(
	ObjectId objectId
)

Parameters

objectId
Type: MongoDB.BsonObjectId
The ObjectId.

Implements

IBsonWriterWriteObjectId(ObjectId)
See Also