Sdílet prostřednictvím


ProjectRootElement.CreateOtherwiseElement Method

Definition

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

public:
 Microsoft::Build::Construction::ProjectOtherwiseElement ^ CreateOtherwiseElement();
public Microsoft.Build.Construction.ProjectOtherwiseElement CreateOtherwiseElement ();
member this.CreateOtherwiseElement : unit -> Microsoft.Build.Construction.ProjectOtherwiseElement
Public Function CreateOtherwiseElement () As ProjectOtherwiseElement

Returns

The Otherwise element.

Remarks

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

Applies to