Table of Contents

Constructor ObjectId

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ObjectId(byte[])

Initializes a new instance of the ObjectId class.

public ObjectId(byte[] bytes)

Parameters

bytes byte[]

The bytes.

ObjectId(string)

Initializes a new instance of the ObjectId class.

public ObjectId(string value)

Parameters

value string

The value.