Initializes a new instance of the Guid class based on the values of the specified arguments.
[Visual Basic] Overloads Public Sub New( _ ByVal a As UInt32, _ ByVal b As UInt16, _ ByVal c As UInt16, _ ByVal d As Byte, _ ByVal e As Byte, _ ByVal f As Byte, _ ByVal g As Byte, _ ByVal h As Byte, _ ByVal i As Byte, _ ByVal j As Byte, _ ByVal k As Byte _ ) [C#] public Guid( uint a, ushort b, ushort c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k ); [C++] public: Guid( unsigned int a, unsigned short b, unsigned short c, unsigned char d, unsigned char e, unsigned char f, unsigned char g, unsigned char h, unsigned char i, unsigned char j, unsigned char k ); [JScript] public function Guid( a : UInt32, b : UInt16, c : UInt16, d : Byte, e : Byte, f : Byte, g : Byte, h : Byte, i : Byte, j : Byte, k : Byte );
Specifying the bytes in this manner avoids endianness issues.
Guid(a,b,c,0,1,2,3,4,5,6,7) creates a Guid that corresponds to "0000000a-000b-000c-0001-020304050607".
Guid Structure | Guid Members | System Namespace | Guid Constructor Overload List