_Type.IsClass _Type.IsClass _Type.IsClass _Type.IsClass Property

定义

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

public:
 property bool IsClass { bool get(); };
public bool IsClass { get; }
member this.IsClass : bool
Public ReadOnly Property IsClass As Boolean

属性值

如果 Type 是类,则为 true;否则为 falsetrue if the Type is a class; otherwise, false.

注解

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

Type.IsClass属性获取一个值,该值指示是否Type类; 即,不是值类型或接口。The Type.IsClass property gets a value indicating whether the Type is a class; that is, not a value type or interface.

适用于