共用方式為


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

Did this property originate from an imported project file?

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

Property Value

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

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