_Type.IsImport _Type.IsImport _Type.IsImport _Type.IsImport Property


Provides COM objects with version-independent access to the IsImport property.

 property bool IsImport { bool get(); };
public bool IsImport { get; }
member this.IsImport : bool
Public ReadOnly Property IsImport As Boolean

Property Value

true if the Type has ComImportAttribute; otherwise, false.


This property is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.IsImport property gets a value indicating whether the Type has ComImportAttribute, indicating that it was imported from a COM type library.

Applies to