Constructor ObjectId
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
stringThe value.