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 Integer, _ ByVal b As Short, _ ByVal c As Short, _ 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( int a, short b, short c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k ); [C++] public: Guid( int a, short b, 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 : int, b : Int16, c : Int16, 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