ProjectRootElement.CreateOtherwiseElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.