IVsBuildManagerAccessor3.Escape(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prepares a string to be persisted within MSBuild without evaluation.
public:
int Escape(System::String ^ pwszUnescapedValue, [Runtime::InteropServices::Out] System::String ^ % pbstrEscapedValue);
int Escape(std::wstring const & pwszUnescapedValue, [Runtime::InteropServices::Out] std::wstring const & & pbstrEscapedValue);
public int Escape (string pwszUnescapedValue, out string pbstrEscapedValue);
abstract member Escape : string * string -> int
Public Function Escape (pwszUnescapedValue As String, ByRef pbstrEscapedValue As String) As Integer
Parameters
- pwszUnescapedValue
- String
The unescaped value.
- pbstrEscapedValue
- String
[out] The escaped value.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.