XamlDataDrivenToolTask.ReadSwitchMap Method
Checks the value a property is set to, and finds the corresponding switch.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Tasks.Xaml
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Public Function ReadSwitchMap ( _
propertyName As String, _
switchMap As String()(), _
value As String _
) As String
public string ReadSwitchMap(
string propertyName,
string[][] switchMap,
string value
)
public:
String^ ReadSwitchMap(
String^ propertyName,
array<array<String^>^>^ switchMap,
String^ value
)
member ReadSwitchMap :
propertyName:string *
switchMap:string[][] *
value:string -> string
public function ReadSwitchMap(
propertyName : String,
switchMap : String[][],
value : String
) : String
Parameters
propertyName
Type: System.StringThe name of the property to check.
switchMap
Type: array<array<System.String[][]The switch map.
value
Type: System.StringThe value of the property.
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.