Table of Contents

Method WriteObjectId

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

WriteObjectId(ObjectId)

Writes a BSON ObjectId to the writer.

public virtual void WriteObjectId(ObjectId objectId)

Parameters

objectId ObjectId

The ObjectId.