Class BsonObjectId
Represents a BSON Oid (object id).
Inheritance
System.Object
BsonObjectId
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Bayat.Json.Bson
Assembly: Bayat.Json.Runtime.dll
Syntax
public class BsonObjectId
Constructors
| Improve this Doc View SourceBsonObjectId(Byte[])
Initializes a new instance of the BsonObjectId class.
Declaration
public BsonObjectId(byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | value | The Oid value. |
Properties
| Improve this Doc View SourceValue
Gets or sets the value of the Oid.
Declaration
public byte[] Value { get; }
Property Value
Type | Description |
---|---|
System.Byte[] | The value of the Oid. |