Свойство | Type | Description | |
---|---|---|---|
MongoOidByteLength | int |
Méthode | Description | |
---|---|---|
Generate ( ) : byte[] |
Generates the bytes for a new MongoOid
|
|
GetId ( ) : string |
Returns a string version of this ID
|
|
MongoOid ( ) : System |
Creates a new Oid and generates an Oid automatically
|
|
MongoOid ( byte identifier ) : System |
Creates an new Oid with the provided bytes - Must be 12 bytes long
|
|
MongoOid ( string id ) : System |
Creates an ID using a string version of the Oid
|
|
SetId ( byte value ) : void |
Sets the ID to a specific value using a set of bytes
|
|
SetId ( string value ) : void |
Converts a string into an ID - IDs should be a hexadecimal string that is either 35 characters (with hyphens) or 24 characters without
|
|
ToString ( ) : string |
Returns the string format of the Oid
|
Méthode | Description | |
---|---|---|
_GetIdentifier ( ) : int |
public MongoOid ( byte identifier ) : System | ||
identifier | byte | |
Résultat | System |