IVsParseCommandLine::QuoteParam Method (String^, String^)

 

Quote a parameter string and escape characters within the string appropriately.

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

int QuoteParam(
	String^ szParam,
	[OutAttribute] String^% pbstrQuotedParam
)

Parameters

szParam
Type: System::String^

[in] String containing the parameter to quote.

pbstrQuotedParam
Type: System::String^

[out] Pointer to the quoted parameter string.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsParseCommandLine::QuoteParam(
   [in] LPCOLESTR szParam, 
   [out, retval] BSTR* pbstrQuotedParam
);
Return to top
Show: