Guid Constructor (Byte())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the Guid class using the specified array of bytes.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- b
- Type:
System.Byte
()
A 16 element byte array containing values with which to initialize the GUID.
| Exception | Condition |
|---|---|
| ArgumentNullException | b is Nothing. |
| ArgumentException | b is not 16 bytes long. |
Show: