Share via


UsingTaskParameterGroupElement.AddParameter Method

Definition

Adds a parameter to this parameter group.

Overloads

AddParameter(String)

Convenience method that picks a location based on a heuristic:

AddParameter(String, String, String, String)

Convenience method that picks a location based on a heuristic:

AddParameter(String)

Source:
UsingTaskParameterGroupElement.cs

Convenience method that picks a location based on a heuristic:

public:
 Microsoft::Build::Construction::ProjectUsingTaskParameterElement ^ AddParameter(System::String ^ name);
public Microsoft.Build.Construction.ProjectUsingTaskParameterElement AddParameter (string name);
member this.AddParameter : string -> Microsoft.Build.Construction.ProjectUsingTaskParameterElement
Public Function AddParameter (name As String) As ProjectUsingTaskParameterElement

Parameters

name
String

The name of the parameter to be added.

Returns

The new parameter.

Applies to

AddParameter(String, String, String, String)

Source:
UsingTaskParameterGroupElement.cs

Convenience method that picks a location based on a heuristic:

public:
 Microsoft::Build::Construction::ProjectUsingTaskParameterElement ^ AddParameter(System::String ^ name, System::String ^ output, System::String ^ required, System::String ^ parameterType);
public Microsoft.Build.Construction.ProjectUsingTaskParameterElement AddParameter (string name, string output, string required, string parameterType);
member this.AddParameter : string * string * string * string -> Microsoft.Build.Construction.ProjectUsingTaskParameterElement
Public Function AddParameter (name As String, output As String, required As String, parameterType As String) As ProjectUsingTaskParameterElement

Parameters

name
String

The name of the parameter to be added.

output
String

The value of the Output attribute.

required
String

The value of the Required attribute.

parameterType
String

The type of the parameter.

Returns

The new parameter.

Applies to