Type.GUID Property

 

Gets the GUID associated with the Type.

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

abstract GUID : Guid with get

Property Value

Type: System.Guid

The GUID associated with the Type.

Implements

_Type.GUID

A GUID is associated with a type using the GuidAttribute attribute.

The following example creates the class MyClass1 with a public method, creates a Type object corresponding to MyClass1, and gets the Guid structure using the GUID property of the Type class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: