共用方式為


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.String

    The name of the property to check.

Return Value

Type: System.Int32
The checked value.

.NET Framework Security

See Also

Reference

XamlDataDrivenToolTask Class

Microsoft.Build.Tasks.Xaml Namespace