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
propertyName
Type: System.StringThe property name.
baseSwitch
Type: System.StringThe base switch.
separator
Type: System.StringThe separator.
Return Value
Type: System.String
The created switch 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.