C# Class MongoDB.Types.ObjectId

Datei anzeigen Open project: dannycoates/mongo-clr4-driver Class Usage Examples

Public Methods

Method Description
Create ( ) : ObjectId
Equals ( object obj ) : bool
GetBytes ( ) : byte[]
GetHashCode ( ) : int
IsOidString ( string hex ) : bool
ObjectId ( byte bytes ) : System
ToString ( ) : string
TryParse ( string value, ObjectId &oid ) : bool

Private Methods

Method Description
FromString ( string hex ) : ObjectId

Method Details

Create() public static method

public static Create ( ) : ObjectId
return ObjectId

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetHashCode() public method

public GetHashCode ( ) : int
return int

IsOidString() public static method

public static IsOidString ( string hex ) : bool
hex string
return bool

ObjectId() public method

public ObjectId ( byte bytes ) : System
bytes byte
return System

ToString() public method

public ToString ( ) : string
return string

TryParse() public static method

public static TryParse ( string value, ObjectId &oid ) : bool
value string
oid ObjectId
return bool