_Type.TypeHandle 属性

定义

为 COM 对象提供对 TypeHandle 属性的与版本无关的访问。Provides COM objects with version-independent access to the TypeHandle property.

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

属性值

当前 Type 的句柄。The handle for the current Type.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

属性获取当前Type的句柄。 Type.TypeHandleThe Type.TypeHandle property gets the handle for the current Type.

适用于