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.

C#
public Microsoft.Build.Construction.ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName);

Parameters

taskParameter
String

The name of the parameter.

propertyName
String

The name of the property.

Returns

The added Output property.

Applies to

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17

AddOutputProperty(String, String, String)

Source:
ProjectTaskElement.cs

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

C#
public Microsoft.Build.Construction.ProjectOutputElement AddOutputProperty(string taskParameter, string propertyName, string condition);

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

MSBuild 17 ve diğer sürümler
Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17