共用方式為


UsingTask.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 UsingTask was imported from another project

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 UsingTask element 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