CommandLineBuilder.AppendQuotedTextToBuffer Method
Appends given text to the buffer after first quoting the text if necessary.
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.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Protected Sub AppendQuotedTextToBuffer ( _
buffer As StringBuilder, _
unquotedTextToAppend As String _
)
protected void AppendQuotedTextToBuffer(
StringBuilder buffer,
string unquotedTextToAppend
)
protected:
void AppendQuotedTextToBuffer(
StringBuilder^ buffer,
String^ unquotedTextToAppend
)
member AppendQuotedTextToBuffer :
buffer:StringBuilder *
unquotedTextToAppend:string -> unit
protected function AppendQuotedTextToBuffer(
buffer : StringBuilder,
unquotedTextToAppend : String
)
Parameters
buffer
Type: System.Text.StringBuilderThe buffer to append to.
unquotedTextToAppend
Type: System.StringThe text to be quoted.
.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.