Export (0) Print
Expand All

EnumBuilder.TypeHandle Property

Retrieves the internal handle for this enum.

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

Property Value

Read-only. The internal handle for this enum.

Exceptions

Exception Type Condition
NotSupportedException This property is not currently supported.

Remarks

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.

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

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

Show:
© 2014 Microsoft