EnumBuilder.TypeHandle Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Retrieves the internal handle for this enum.

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

Syntax

'Declaration
Public Overrides ReadOnly Property TypeHandle As RuntimeTypeHandle
public override RuntimeTypeHandle TypeHandle { get; }

Property Value

Type: System.RuntimeTypeHandle
Read-only. The internal handle for this enum.

Exceptions

Exception 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.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.