Guid Constructor (array<Byte>[]()[][])
Initializes a new instance of the Guid structure by using the specified array of bytes.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public Guid( byte[] b )
<TemplateAttribute> _ Public Sub New ( _ b As Byte() _ )
[TemplateAttribute] public: Guid( array<unsigned char^>^ b )
Parameters
- b
- Type: array<System..::..Byte>[]()[][]
A 16-element byte array containing values with which to initialize the GUID.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | b is null. |
System..::..ArgumentException | b is not 16 bytes long. |