Export (0) Print
Expand All

EnumBuilder.TypeHandle Property

Retrieves the internal handle for this enum.

[Visual Basic]
Overrides Public ReadOnly Property TypeHandle As RuntimeTypeHandle
public override RuntimeTypeHandle TypeHandle {get;}
public: __property RuntimeTypeHandle get_TypeHandle();
public override function get TypeHandle() : RuntimeTypeHandle;

Property Value

Read-only. The internal handle for this enum.


Exception Type Condition
NotSupportedException This property is not currently supported.


You can retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.

Use this handle to access the underlying metadata handle.


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

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

© 2014 Microsoft