Method ReadObjectId NamespaceMongoDB.Bson.IO AssemblyMongoDB.Bson.dll ReadObjectId() Reads a BSON ObjectId from the reader. public abstract ObjectId ReadObjectId() Returns ObjectId An ObjectId.