Share via


Guid Constructor (Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

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

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

Syntax

public Guid (
         inta,
         shortb,
         shortc,
         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 individual bytes in this manner can be used to circumvent byte order restrictions (big-endian or little-endian byte order) on particular types of computers.

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