Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RegistrationServices::TypeRepresentsComType Method (Type^)

 

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.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool TypeRepresentsComType(
	Type^ type
)

Parameters

type
Type: System::Type^

The type to check for being a COM type.

Return Value

Type: System::Boolean

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft