Udostępnij za pośrednictwem


ProjectRootElement.CreateChooseElement Method

Definition

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.

Applies to