ProjectRootElement.CreateOtherwiseElement Method

Definition

Creates an otherwise node. Caller must add it to the location of choice in the project.

C#
public Microsoft.Build.Construction.ProjectOtherwiseElement CreateOtherwiseElement();

Returns

The Otherwise element.

Remarks

Caller must add the Otherwise element to the location of choice in the project.

Applies to

Ürün Sürümler
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17