Type.IsCOMObjectImpl 方法

定義

在衍生類別中覆寫時,實作 IsCOMObject 屬性並判斷 Type 是否為 COM 物件。

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

傳回

Boolean

如果 true 是 COM 物件,則為 Type,否則為 false

備註

這個方法 false 會針對 COM 介面傳回,因為它們不是物件。 COM 介面可由 Microsoft .NET Framework 物件來執行。

適用於

另請參閱