_Type.IsImport Property

Definition

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

public:
 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.

Remarks

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