Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a parameter for use in a UsingTask element parameter group.
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 Function CreateUsingTaskParameterElement ( _
name As String, _
output As String, _
required As String, _
parameterType As String _
) As ProjectUsingTaskParameterElement
public ProjectUsingTaskParameterElement CreateUsingTaskParameterElement(
string name,
string output,
string required,
string parameterType
)
public:
ProjectUsingTaskParameterElement^ CreateUsingTaskParameterElement(
String^ name,
String^ output,
String^ required,
String^ parameterType
)
member CreateUsingTaskParameterElement :
name:string *
output:string *
required:string *
parameterType:string -> ProjectUsingTaskParameterElement
public function CreateUsingTaskParameterElement(
name : String,
output : String,
required : String,
parameterType : String
) : ProjectUsingTaskParameterElement
Parameters
name
Type: System.StringThe name of the UsingTask element.
output
Type: System.StringStores outputs from the task in the project file.
required
Type: System.StringA user-defined task parameter that contains the parameter value as its value.
parameterType
Type: System.StringThe type of the parameter.
Return Value
Type: Microsoft.Build.Construction.ProjectUsingTaskParameterElement
Returns the parameter.
Remarks
Caller must add the parameter to the UsingTask parameter group of choice in the project.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.