TargetCollection.Item[String] Property

Definition

Gets the specified Target object in the TargetCollection.

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

The Name attribute of the Target element in the collection.

Property Value

The Target object that contains the Name property value specified by index.

Remarks

A Target object represents a Target element in the project.

Applies to