CommandLineToolSwitch Class

Represents a single command line tool switch.

System.Object
  Microsoft.Build.Tasks.Xaml.CommandLineToolSwitch

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

public class CommandLineToolSwitch

The CommandLineToolSwitch type exposes the following members.

  NameDescription
Public methodCommandLineToolSwitch()Initializes a new instance of the CommandLineToolSwitch.
Public methodCommandLineToolSwitch(CommandLineToolSwitchType)Initializes a new instance of the CommandLineToolSwitch to hold the name, tool, attributes, dependent switches, and values..
Top

  NameDescription
Public propertyAllowMultipleValuesIndicates whether multiple values are allowed.
Public propertyArgumentRequiredGets or sets a value that indicates whether arguments are required in the command line tool switch.
Public propertyArgumentsGets or sets the arguments required for the command line tool switch.
Public propertyBooleanValueGets or sets the Boolean value of the command line switch.
Public propertyDescriptionGets or sets the description of the single command line tool switch.
Public propertyDisplayNameGets or sets the display name of the switch.
Public propertyFallbackArgumentParameterGets or sets the fallback parameter.
Public propertyFalseSuffixGets or sets the suffix to use when the switch is false or negated.
Public propertyIncludeInCommandLineGets or sets a value that indicates whether to include the command line tool switch in the command line.
Public propertyIsValidGets or sets whether the switch is valid.
Public propertyNameGets or sets the name of the switch.
Public propertyNumberGets or sets the value for integer type switches.
Public propertyOverridesGets the overrides for the switch.
Public propertyParentsGets the parents for the switch.
Public propertyRequiredGets or sets whether the switch is required.
Public propertyReverseSwitchValueGets or sets the reverse switch text.
Public propertyReversibleGets or sets whether the switch is reversible.
Public propertySeparatorGets or sets the separator between the switch and its arguments.
Public propertyStringListGets or sets the collection of strings.
Public propertySwitchValueGets or sets the value for the switch.
Public propertyTaskItemArrayGets or sets an array of task items.
Public propertyTrueSuffixGets or sets the suffix to use when the switch is true.
Public propertyTypeGets or sets the type of the switch.
Public propertyValueGets or sets the value of the switch.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft