Sdílet prostřednictvím


ProjectRootElement.CreateOutputElement(String, String, String) Method

Definition

Creates an output node. Exactly one of itemType and propertyName must be specified. Caller must add it to the location of choice in the project.

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

Parameters

taskParameter
String

The name of the task's output parameter.

itemType
String

The item that receives the task's output parameter value.

propertyName
String

The property that receives the task's output parameter value.

Returns

The Output element.

Remarks

Caller must add the Output element to the location of choice in the project. Either itemType or propertyName must be specified, but not both.

Applies to