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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.