Share via


IRegistrationServices.TypeRepresentsComType(Type) 方法

定義

判斷指定的型別是否為 COM 型別。

public:
 bool TypeRepresentsComType(Type ^ type);
public bool TypeRepresentsComType (Type type);
abstract member TypeRepresentsComType : Type -> bool
Public Function TypeRepresentsComType (type As Type) As Boolean

參數

type
Type

型別,決定是否為 COM 型別。

傳回

如果指定的型別為 COM 型別,則為 true,否則為 false

適用於