Json.NET - Quick Starts & API Documentation
BsonObjectId Constructor (value)
Namespaces ► Newtonsoft.Json.Bson ► BsonObjectId ► BsonObjectId(array<Byte>[]()[][])
Initializes a new instance of the BsonObjectId class.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public BsonObjectId( byte[] value )
Public Sub New ( _ value As Byte() _ )
public: BsonObjectId( array<unsigned char>^ value )
Parameters
- value (array<Byte>[]()[][])
- The Oid value.