Freigeben über


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

  • unquotedTextToAppend
    Type: System.String

    The text to be quoted.

.NET Framework Security

See Also

Reference

CommandLineBuilder Class

Microsoft.Build.Utilities Namespace