_Type.IsCOMObject _Type.IsCOMObject _Type.IsCOMObject _Type.IsCOMObject Property

定义

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

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

属性值

如果 true 为 COM 对象,则为 Type;否则为 falsetrue if the Type is a COM object; otherwise, false.

注解

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

Type.IsCOMObject属性获取一个值,该值指示是否Type是 COM 对象。The Type.IsCOMObject property gets a value indicating whether the Type is a COM object.

适用于