EnumBuilder.TypeHandle EnumBuilder.TypeHandle EnumBuilder.TypeHandle EnumBuilder.TypeHandle Property

定义

检索该枚举的内部句柄。Retrieves the internal handle for this enum.

public:
 virtual property RuntimeTypeHandle TypeHandle { RuntimeTypeHandle get(); };
public override RuntimeTypeHandle TypeHandle { get; }
member this.TypeHandle : RuntimeTypeHandle
Public Overrides ReadOnly Property TypeHandle As RuntimeTypeHandle

属性值

只读。Read-only. 该枚举的内部句柄。The internal handle for this enum.

异常

目前不支持此属性。This property is not currently supported.

注解

您可以使用Type.GetTypeAssembly.GetType检索该类型,并在检索到的类型上使用反射。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.

适用于