Share via


XamlDataDrivenToolTask.ReadSwitchMap(String, String[][], String) 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:
 System::String ^ ReadSwitchMap(System::String ^ propertyName, cli::array <cli::array <System::String ^> ^> ^ switchMap, System::String ^ value);
public string ReadSwitchMap (string propertyName, string[][] switchMap, string value);
member this.ReadSwitchMap : string * string[][] * string -> string
Public Function ReadSwitchMap (propertyName As String, switchMap As String()(), value As String) As String

Parameters

propertyName
String

The name of the property to check.

switchMap
String[][]

The switch map.

value
String

The value of the property.

Returns

The switch that a certain value is mapped to

Applies to