Type.IsCOMObjectImpl 方法

定義

在衍生類別中覆寫時,實作 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.

適用於

另請參閱