XamlDataDrivenToolTask.ReadSwitchMap2 Method
Checks the value of 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 ReadSwitchMap2 ( _
propertyName As String, _
switchMap As Tuple(Of String, String, Tuple(Of String, Boolean)())(), _
value As String _
) As Integer
public int ReadSwitchMap2(
string propertyName,
Tuple<string, string, Tuple<string, bool>[]>[] switchMap,
string value
)
public:
int ReadSwitchMap2(
String^ propertyName,
array<Tuple<String^, String^, array<Tuple<String^, bool>^>^>^>^ switchMap,
String^ value
)
member ReadSwitchMap2 :
propertyName:string *
switchMap:Tuple<string, string, Tuple<string, bool>[]>[] *
value:string -> int
public function ReadSwitchMap2(
propertyName : String,
switchMap : Tuple<String, String, Tuple<String, boolean>[]>[],
value : String
) : int
Parameters
propertyName
Type: System.StringThe name of the property to check.
value
Type: System.StringThe value of the property.
Return Value
Type: System.Int32
The checked value.
.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.