NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Guid Constructor

Initializes a new instance of the Guid class.

Overload List

Initializes a new instance of the Guid class using the specified Byte array.

[Visual Basic] Overloads Public Sub New(Byte())
[C#] public Guid(byte[]);
[C++] public: Guid(unsigned char*[]);
[JScript] public function Guid(Byte[]);

Initializes a new instance of the Guid class based on the values of the specified arguments.

[Visual Basic] Overloads Public Sub New(UInt32, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
[C#] public Guid(uint, ushort, ushort, byte, byte, byte, byte, byte, byte, byte, byte);
[C++] public: Guid(unsigned int, unsigned short, unsigned short, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char);
[JScript] public function Guid(UInt32, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte);

Initializes a new instance of the Guid class based on the value of a specified string.

[Visual Basic] Overloads Public Sub New(String)
[C#] public Guid(String);
[C++] public: Guid(String*);
[JScript] public function Guid(String);

Initializes a new instance of the Guid class based on the values of the specified arguments.

[Visual Basic] Overloads Public Sub New(Integer, Integer, Integer, Byte())
[C#] public Guid(int, short, short, byte[]);
[C++] public: Guid(int, short, short, unsigned char[]);
[JScript] public function Guid(int, Int16, Int16, Byte[]);

Initializes a new instance of the Guid class based on the values of the specified arguments.

[Visual Basic] Overloads Public Sub New(Integer, Integer, Integer, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
[C#] public Guid(int, short, short, byte, byte, byte, byte, byte, byte, byte, byte);
[C++] public: Guid(int, short, short, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char);
[JScript] public function Guid(int, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte);

Example

Guid(a,b,c,0,1,2,3,4,5,6,7) creates a Guid that corresponds to "0000000a-000b-000c-0001-020304050607".

See Also

Guid Structure | Guid Members | System Namespace