The set method of the _Guid Class contains the following signatures:
set(byte [] ba)
set(String str)
set(int d1, short d2, short d3, byte b8, byte b9, byte b10, byte b11, byte b12, byte b13, byte b14, byte b15)
Reinitializes an existing _Guid object from a 16-element byte array.
public void set(byte [] ba)
ba | A 16-element byte array. |
CAUTION This method of reinitialization is not endian-portable.
Reinitializes an existing _Guid from its registry string representation. The string representation is in the following form, in which each x denotes a hexadecimal digit:
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
public void set(String str);
str | The registry string representation. |
Reinitializes an existing _Guid object so that its value is specified by the internal representations of the parameters d1 through b15 in order.
public void set(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. |