Share via


ProjectTaskElement.AddOutputProperty Method

Definition

Adds an Output property to this task after the last child.

Overloads

AddOutputProperty(String, String)

Convenience method to add an Output Property to this task. Adds after the last child.

AddOutputProperty(String, String, String)

Convenience method to add a conditioned Output Property to this task. Adds after the last child.

AddOutputProperty(String, String)

Source:
ProjectTaskElement.cs

Convenience method to add an Output Property to this task. Adds after the last child.

public:
 Microsoft::Build::Construction::ProjectOutputElement ^ AddOutputProperty(System::String ^ taskParameter, System::String ^ propertyName);
public Microsoft.Build.Construction.ProjectOutputElement AddOutputProperty (string taskParameter, string propertyName);
member this.AddOutputProperty : string * string -> Microsoft.Build.Construction.ProjectOutputElement
Public Function AddOutputProperty (taskParameter As String, propertyName As String) As ProjectOutputElement

Parameters

taskParameter
String

The name of the parameter.

propertyName
String

The name of the property.

Returns

The added Output property.

Applies to

AddOutputProperty(String, String, String)

Source:
ProjectTaskElement.cs

Convenience method to add a conditioned Output Property to this task. Adds after the last child.

public:
 Microsoft::Build::Construction::ProjectOutputElement ^ AddOutputProperty(System::String ^ taskParameter, System::String ^ propertyName, System::String ^ condition);
public Microsoft.Build.Construction.ProjectOutputElement AddOutputProperty (string taskParameter, string propertyName, string condition);
member this.AddOutputProperty : string * string * string -> Microsoft.Build.Construction.ProjectOutputElement
Public Function AddOutputProperty (taskParameter As String, propertyName As String, condition As String) As ProjectOutputElement

Parameters

taskParameter
String

The name of the parameter.

propertyName
String

The name of the property.

condition
String

The condition of the property.

Returns

The added conditioned Output property.

Applies to