_Type.TypeHandle _Type.TypeHandle _Type.TypeHandle _Type.TypeHandle Property

定义

为 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.TypeHandle属性获取当前的句柄TypeThe Type.TypeHandle property gets the handle for the current Type.

适用于