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 (Byte[])

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

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

Parameters

b
An unsigned byte array of length 16 to use to initialize the GUID.

Exceptions

Exception Type Condition
ArgumentException is thrown if b is not 16 bytes long.
ArgumentNullException if b is null.

See Also

Guid Structure | Guid Members | System Namespace | Guid Constructor Overload List