Поделиться через


IVsBuildManagerAccessor.Escape Method

Prepares a string to be persisted within MSBuild without evaluation.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.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

  • pbstrEscapedValue
    Type: System.String%
    [out] The escaped value.

Return Value

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

.NET Framework Security

See Also

Reference

IVsBuildManagerAccessor Interface

Microsoft.VisualStudio.Shell.Interop Namespace