XamlDataDrivenToolTask.ReadSwitchMap2 Method

Definition

A method for the enumerated values a property can have This method checks the value a property is set to, and finds the corresponding switch

public:
 int ReadSwitchMap2(System::String ^ propertyName, cli::array <Tuple<System::String ^, System::String ^, cli::array <Tuple<System::String ^, bool> ^> ^> ^> ^ switchMap, System::String ^ value);
public int ReadSwitchMap2 (string propertyName, Tuple<string,string,Tuple<string,bool>[]>[] switchMap, string value);
member this.ReadSwitchMap2 : string * string * string * string * bool[][] * string -> int
Public Function ReadSwitchMap2 (propertyName As String, switchMap As Tuple(Of String, String, Tuple(Of String, Boolean)())(), value As String) As Integer

Parameters

propertyName
String

The name of the property to check.

switchMap
Tuple<String,String,Tuple<String,Boolean>[]>[]

The switch map.

value
String

The value of the property.

Returns

The switch that a certain value is mapped to

Applies to