Freigeben über


ProjectTaskElement.ParameterLocations Property

Enumerable over the locations of parameters on the task.

Condition and ContinueOnError, which have their own properties, are not included in this collection.

If parameters differ only by case only the last one will be returned.

Hosts can still remove the other parameters by using RemoveAllParameters().

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property ParameterLocations As IEnumerable(Of KeyValuePair(Of String, ElementLocation))
public IEnumerable<KeyValuePair<string, ElementLocation>> ParameterLocations { get; }
public:
property IEnumerable<KeyValuePair<String^, ElementLocation^>>^ ParameterLocations {
    IEnumerable<KeyValuePair<String^, ElementLocation^>>^ get ();
}
member ParameterLocations : IEnumerable<KeyValuePair<string, ElementLocation>> with get
function get ParameterLocations () : IEnumerable<KeyValuePair<String, ElementLocation>>

Property Value

Type: IEnumerable<KeyValuePair<String, ElementLocation>>
Returns IEnumerable.

.NET Framework Security

See Also

Reference

ProjectTaskElement Class

Microsoft.Build.Construction Namespace