The _Guid Class contains the following constructors:
_Guid(byte [] ba)
_Guid(int d1, short d2, short d3, byte b8, byte b9, byte b10, byte b11, byte b12, byte b13, byte b14, byte b15)
_Guid(String str)
_Guid()
Constructs a new _Guid object, whose value matches the internal representation of the specified 16-element byte array.
public _Guid(byte [] ba);
ba | The 16-element byte array. |
CAUTION This constructor form is efficient but not endian-portable. Its use, therefore, is not recommended for cross-platform applications.
Constructs a new _Guid object whose value is specified by the internal representations of the parameters d1 through b15 in order.
public _Guid(int d1, short d2, short d3, byte b8, byte b9, byte b10, byte b11, byte b12, byte b13, byte b14, byte b15);
d1 | A 32-bit integer. |
d2 | A 16-bit integer. |
d3 | A 16-bit integer. |
b8 | An 8-bit integer. |
b9 | An 8-bit integer. |
b10 | An 8-bit integer. |
b11 | An 8-bit integer. |
b12 | An 8-bit integer. |
b13 | An 8-bit integer. |
b14 | An 8-bit integer |
b15 | An 8-bit integer. |
Constructs a new _Guid object from its string representation. The string representation is in the following form, in which each x denotes a hexadecimal digit:
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
public _Guid(String str);
str | The GUID string representation. |
Constructs a new _Guid object, whose value is as follows:
{00000000-0000-0000-0000-000000000000}.
public _Guid();