ProjectRootElement.CreateChooseElement 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 a choose. Caller must add it to the location of choice in the project.
public:
Microsoft::Build::Construction::ProjectChooseElement ^ CreateChooseElement();
public Microsoft.Build.Construction.ProjectChooseElement CreateChooseElement ();
member this.CreateChooseElement : unit -> Microsoft.Build.Construction.ProjectChooseElement
Public Function CreateChooseElement () As ProjectChooseElement
Returns
A ProjectChooseElement object.
Remarks
Caller must add the Choose element to the location of choice in the project.