Partager via


ProjectTaskElement.AddOutputItem Method

Definition

Adds an Output item after the last child.

Overloads

AddOutputItem(String, String)

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

AddOutputItem(String, String, String)

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

AddOutputItem(String, String)

Source:
ProjectTaskElement.cs

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

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

Parameters

taskParameter
String

The name of the task which outputs to the item.

itemType
String

The item type of the new item whose value is set to the output of the task.

Returns

The added Output item.

Applies to

AddOutputItem(String, String, String)

Source:
ProjectTaskElement.cs

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

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

Parameters

taskParameter
String

The name of the parameter.

itemType
String

The item type of the item.

condition
String

The condition of the parameter.

Returns

The added conditioned Output item.

Applies to