Guid Constructor (Int32, Int16, Int16, array<Byte>[]()[][])
Initializes a new instance of the Guid structure by using the specified integers and byte array.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public Guid( int a, short b, short c, byte[] d )
<TemplateAttribute> _ Public Sub New ( _ a As Integer, _ b As Short, _ c As Short, _ d As Byte() _ )
[TemplateAttribute] public: Guid( int^ a, short^ b, short^ c, array<unsigned char^>^ d )
Parameters
- a
- Type: System..::..Int32
The first 4 bytes of the GUID.
- b
- Type: System..::..Int16
The next 2 bytes of the GUID.
- c
- Type: System..::..Int16
The next 2 bytes of the GUID.
- d
- Type: array<System..::..Byte>[]()[][]
The remaining 8 bytes of the GUID.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | d is null. |
System..::..ArgumentException | d is not 8 bytes long. |