Compartilhar via


TargetCollection.Item[String] 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

Gets the target with the given name, case-insensitively. Note that this also defines the .BuildItem() accessor automagically.

public:
 property Microsoft::Build::BuildEngine::Target ^ default[System::String ^] { Microsoft::Build::BuildEngine::Target ^ get(System::String ^ index); };
public Microsoft.Build.BuildEngine.Target this[string index] { get; }
member this.Item(string) : Microsoft.Build.BuildEngine.Target
Default Public ReadOnly Property Item(index As String) As Target

Parameters

index
String

Property Value

The target with the given name.

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