XamlDataDrivenToolTask.ReadSwitchMap2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- value
- String
The value of the property.
Returns
The switch that a certain value is mapped to