Megosztás a következőn keresztül:


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

    The name of the property to check.

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

XamlDataDrivenToolTask Class

Microsoft.Build.Tasks.Xaml Namespace