Share via


CommandLineToolSwitch.SwitchValue Property

Gets or sets the value for the switch.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Xaml
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property SwitchValue As String
public string SwitchValue { get; set; }
public:
property String^ SwitchValue {
    String^ get ();
    void set (String^ value);
}
member SwitchValue : string with get, set
function get SwitchValue () : String 
function set SwitchValue (value : String)

Property Value

Type: System.String
The value for the switch.

.NET Framework Security

See Also

Reference

CommandLineToolSwitch Class

Microsoft.Build.Tasks.Xaml Namespace