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. 可以由 Microsoft.NET Framework 物件實作 COM 介面。COM interfaces can be implemented by Microsoft .NET Framework objects.

適用於

另請參閱