This documentation is archived and is not being maintained.
CommandLineToolSwitch Class
Visual Studio 2010
An enumeration of the different types for switches on a command line.
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The CommandLineToolSwitch type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CommandLineToolSwitch() | Initializes a new [CommandLineToolSwitch] to hold the name, tool, attributes, dependent switches, and values. |
![]() | CommandLineToolSwitch(CommandLineToolSwitchType) | Initializes a new [CommandLineToolSwitch] to hold the name, tool, attributes, dependent switches, and values. |
| Name | Description | |
|---|---|---|
![]() | AllowMultipleValues | Indicates if multiple values are allowed. |
![]() | ArgumentRequired | Indicates if arguments are required. |
![]() | BooleanValue | Contains the Boolean value of the command line switch. |
![]() | Description | Describes the switch. |
![]() | DisplayName | Contains the display name of the switch. |
![]() | FallbackArgumentParameter | Contains the fallback parameter. |
![]() | FalseSuffix | Contains the suffix to use when the switch is false or negated. |
![]() | IsValid | Indicates if the switch is valid. |
![]() | Name | Contains the name of the switch. |
![]() | Number | Contains the value for integer type switches. |
![]() | Overrides | Contains overrides for the switch. |
![]() | Parents | Contains parents for the switch. |
![]() | Required | Indicates if the switch is required. |
![]() | ReverseSwitchValue | Contains the reverse switch text. |
![]() | Reversible | Indicates if the switch is reversable. |
![]() | Separator | Contains the separator between the switch and its arguments. |
![]() | StringList | Contains a list of strings. |
![]() | SwitchValue | Contains the value for the switch. |
![]() | TaskItemArray | Contains an array of task items. |
![]() | TrueSuffix | Contains the suffix to use when the switch is true. |
![]() | Type | Contains the type of the switch. |
![]() | Value | Contains the value of the switch. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
