IRegistrationServices.TypeRepresentsComType(Type) 方法

定义

确定指定的类型是否为 COM 类型。Determines whether the specified type is a COM type.

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 类型的类型。The type to determine if it is a COM type.

返回

Boolean

如果指定的类型为 COM 类型,则为 true;否则为 falsetrue if the specified type is a COM type; otherwise false.

适用于