This documentation is archived and is not being maintained.

TypeBuilder.GUID Property

Retrieves the GUID of this type.

[Visual Basic]
Overrides Public ReadOnly Property GUID As Guid
[C#]
public override Guid GUID {get;}
[C++]
public: __property Guid get_GUID();
[JScript]
public override function get GUID() : Guid;

Property Value

Read-only. Retrieves the GUID of this type

Exceptions

Exception Type Condition
NotSupportedException This method is not currently supported for incomplete types.

Remarks

Retrieve the type using GetType or GetType and use reflection on the retrieved type.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace

Show: