次の方法で共有


XamlDataDrivenToolTask.CreateSwitchValue Method

Creates a switch value for the XamlDataDrivenToolTask.

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 CreateSwitchValue ( _
    propertyName As String, _
    baseSwitch As String, _
    separator As String, _
    arguments As Tuple(Of String, Boolean)() _
) As String
public string CreateSwitchValue(
    string propertyName,
    string baseSwitch,
    string separator,
    Tuple<string, bool>[] arguments
)
public:
String^ CreateSwitchValue(
    String^ propertyName, 
    String^ baseSwitch, 
    String^ separator, 
    array<Tuple<String^, bool>^>^ arguments
)
member CreateSwitchValue : 
        propertyName:string * 
        baseSwitch:string * 
        separator:string * 
        arguments:Tuple<string, bool>[] -> string
public function CreateSwitchValue(
    propertyName : String, 
    baseSwitch : String, 
    separator : String, 
    arguments : Tuple<String, boolean>[]
) : String

Parameters

Return Value

Type: System.String
The created switch value.

.NET Framework Security

See Also

Reference

XamlDataDrivenToolTask Class

Microsoft.Build.Tasks.Xaml Namespace