Bagikan melalui


XamlDataDrivenToolTask.CreateSwitchValue Method

Definition

Gets a switch value by concatenating the switch's base value (usually the switch itself) with its argument, if any.

public:
 System::String ^ CreateSwitchValue(System::String ^ propertyName, System::String ^ baseSwitch, System::String ^ separator, cli::array <Tuple<System::String ^, bool> ^> ^ arguments);
public string CreateSwitchValue (string propertyName, string baseSwitch, string separator, Tuple<string,bool>[] arguments);
member this.CreateSwitchValue : string * string * string * string * bool[] -> string
Public Function CreateSwitchValue (propertyName As String, baseSwitch As String, separator As String, arguments As Tuple(Of String, Boolean)()) As String

Parameters

propertyName
String

The property name.

baseSwitch
String

The base switch.

separator
String

The separator.

arguments
Tuple<String,Boolean>[]

The arguments.

Returns

The created switch value.

Applies to