Share via


BuildItemGroup.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

This returns a boolean telling you whether this particular item group was imported from another project, or whether it was defined in the main project. For virtual item groups which have no persistence, this is false.

public:
 property bool IsImported { bool get(); };
public bool IsImported { get; }
public bool IsImported { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.IsImported : bool
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.IsImported : bool
Public ReadOnly Property IsImported As Boolean

Property Value

true if the item group was imported into the project; otherwise, false.

Attributes

Remarks

Warning

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