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
- pwszUnescapedValue
Type: System.String
The unescaped value.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.