次の方法で共有


ProjectRootElement.CreateUsingTaskParameterElement Method

Definition

Creates a Parameter for use in a using ParameterGroup. Caller must add it to the location of choice in the project under a using task.

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

Parameters

name
String

The name of the UsingTask element.

output
String

Stores outputs from the task in the project file.

required
String

A user-defined task parameter that contains the parameter value as its value.

parameterType
String

The type of the parameter.

Returns

The parameter.

Remarks

Caller must add the parameter to the UsingTask parameter group of choice in the project.

Applies to