Aracılığıyla paylaş


BuildResult.Item[String] Property

Definition

Indexer which sets or returns results for the specified target

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

Parameters

target
String

The target

Property Value

The results for the specified target

Remarks

Throws a KeyNotFoundException if the given target doesn't exist in this build result.

Applies to