Auf Englisch lesen

Freigeben über


Import.IsImported Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Returns true if this Import came from an imported project

C#
public bool IsImported { get; }
C#
public bool IsImported { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }

Property Value

true if the Import element was imported into the project; otherwise, false.

Attributes

Remarks

Warnung

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

Produkt Versionen
MSBuild 17
MSBuild (.NET Core) 17