Type.IsCOMObjectImpl Method

Definition

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

Returns

Boolean

如果 true 是 COM 物件,則為 Type,否則為 falsetrue if the Type is a COM object; otherwise, false.

Remarks

這個方法會傳回 COM 介面 false,因為它們不是物件。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.

Applies to

See also