IVsBuildManagerAccessor2::Escape Method (String^, String^)

 

Prepares a string to be persisted within MSBuild without evaluation.

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

int Escape(
	String^ pwszUnescapedValue,
	[OutAttribute] String^% pbstrEscapedValue
)

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.

Return to top
Show: