Windows Dev Center

GuidAttribute.GuidAttribute constructor

Creates and initializes a new instance of the attribute.

Syntax


public:
GuidAttribute(
  unsigned int a, 
  unsigned short b, 
  unsigned short c, 
  unsigned char d, 
  unsigned char e, 
  unsigned char f, 
  unsigned char g, 
  unsigned char h, 
  unsigned char i, 
  unsigned char j, 
  unsigned char k
)

Parameters

a

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The first 4 bytes of the GUID.

b

Type: Number [JavaScript] | System.UInt16 [.NET] | uint16 [C++]

The next 2 bytes of the GUID.

c

Type: Number [JavaScript] | System.UInt16 [.NET] | uint16 [C++]

The next 2 bytes of the GUID.

d

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

e

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

f

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

g

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

h

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

i

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

j

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

k

Type: Number [JavaScript] | System.Byte [.NET] | uint8 [C++]

The next byte of the GUID.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

See also

GuidAttribute

 

 

Show:
© 2015 Microsoft