Edit

Kongsi melalui


RegistrationServices.TypeRepresentsComType(Type) Method

Definition

Indicates whether a type is marked with the ComImportAttribute, or derives from a type marked with the ComImportAttribute and shares the same GUID as the parent.

public:
 virtual bool TypeRepresentsComType(Type ^ type);
public virtual bool TypeRepresentsComType (Type type);
abstract member TypeRepresentsComType : Type -> bool
override this.TypeRepresentsComType : Type -> bool
Public Overridable Function TypeRepresentsComType (type As Type) As Boolean

Parameters

type
Type

The type to check for being a COM type.

Returns

true if a type is marked with the ComImportAttribute, or derives from a type marked with the ComImportAttribute and shares the same GUID as the parent; otherwise false.

Implements

Applies to