ProjectRootElement.CreateOtherwiseElement Method
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();
C#
public Microsoft.Build.Construction.ProjectOtherwiseElement CreateOtherwiseElement();
member this.CreateOtherwiseElement : unit -> Microsoft.Build.Construction.ProjectOtherwiseElement
Public Function CreateOtherwiseElement () As ProjectOtherwiseElement
The Otherwise element.
Caller must add the Otherwise element to the location of choice in the project.
Ürün | Sürümler |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |