RegistrationServices.TypeRepresentsComType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.