Share via


CommandLineToolSwitch Constructors

Definition

Initializes a new instance of the CommandLineToolSwitch.

Overloads

CommandLineToolSwitch()

The default constructor creates a new CommandLineToolSwitch to hold the name of the tool, the attributes, the dependent switches, and the values (if they exist)

CommandLineToolSwitch(CommandLineToolSwitchType)

Overloaded constructor. Takes a CommandLineToolSwitchType and sets the type.

CommandLineToolSwitch()

Source:
CommandLineToolSwitch.cs

The default constructor creates a new CommandLineToolSwitch to hold the name of the tool, the attributes, the dependent switches, and the values (if they exist)

public:
 CommandLineToolSwitch();
public CommandLineToolSwitch ();
Public Sub New ()

Applies to

CommandLineToolSwitch(CommandLineToolSwitchType)

Source:
CommandLineToolSwitch.cs

Overloaded constructor. Takes a CommandLineToolSwitchType and sets the type.

public:
 CommandLineToolSwitch(Microsoft::Build::Tasks::Xaml::CommandLineToolSwitchType toolType);
public CommandLineToolSwitch (Microsoft.Build.Tasks.Xaml.CommandLineToolSwitchType toolType);
new Microsoft.Build.Tasks.Xaml.CommandLineToolSwitch : Microsoft.Build.Tasks.Xaml.CommandLineToolSwitchType -> Microsoft.Build.Tasks.Xaml.CommandLineToolSwitch
Public Sub New (toolType As CommandLineToolSwitchType)

Parameters

toolType
CommandLineToolSwitchType

The type of the switch.

Applies to