Type.IsCOMObjectImpl Type.IsCOMObjectImpl Type.IsCOMObjectImpl Type.IsCOMObjectImpl Method

定义

当在派生类中重写时,实现 IsCOMObject 属性并确定 Type 是否为 COM 对象。When overridden in a derived class, implements the IsCOMObject property and determines whether the Type is a COM object.

protected:
 abstract bool IsCOMObjectImpl();
protected abstract bool IsCOMObjectImpl ();
abstract member IsCOMObjectImpl : unit -> bool
Protected MustOverride Function IsCOMObjectImpl () As Boolean

返回

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

注解

此方法对于false COM 接口返回,因为它们不是对象。This method returns false for COM interfaces because they are not objects. COM 接口可由 Microsoft .NET Framework 对象实现。COM interfaces can be implemented by Microsoft .NET Framework objects.

适用于

另请参阅