Compartir a través de


Guid Constructor (UInt32, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

Initializes a new instance of the Guid class using the specified unsigned integers and bytes.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[CLSCompliantAttribute(false)]
public Guid (
         UInt32a,
         UInt16b,
         UInt16c,
         byted,
         bytee,
         bytef,
         byteg,
         byteh,
         bytei,
         bytej,
         bytek
)

Parameters

  • a
    The first 4 bytes of the GUID.
  • b
    The next 2 bytes of the GUID.
  • c
    The next 2 bytes of the GUID.
  • d
    The next byte of the GUID.
  • e
    The next byte of the GUID.
  • f
    The next byte of the GUID
  • g
    The next byte of the GUID
  • h
    The next byte of the GUID
  • i
    The next byte of the GUID
  • j
    The next byte of the GUID
  • k
    The next byte of the GUID

Remarks

Specifying the bytes in this manner avoids endianness issues.

Version Information

Available in the .NET Micro Framework versions 3.0, 3.5, 4.0, and 4.1.

See Also

Reference

Guid Structure
Guid Members
System Namespace