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: StringThe 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
- 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.