Share via


IVsBuildManagerAccessor3.Escape Method

Prepares a string to be persisted within MSBuild without evaluation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function Escape ( _
    pwszUnescapedValue As String, _
    <OutAttribute> ByRef pbstrEscapedValue As String _
) As Integer
int Escape(
    string pwszUnescapedValue,
    out string pbstrEscapedValue
)
int Escape(
    [InAttribute] String^ pwszUnescapedValue, 
    [OutAttribute] String^% pbstrEscapedValue
)
abstract Escape : 
        pwszUnescapedValue:string * 
        pbstrEscapedValue:string byref -> int
function Escape(
    pwszUnescapedValue : String, 
    pbstrEscapedValue : String
) : int

Parameters

  • pwszUnescapedValue
    Type: String

    The unescaped value.

  • pbstrEscapedValue
    Type: String%

    [out] The escaped value.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsBuildManagerAccessor3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace