IVsParseCommandLine::GetRawSwitch Method (Int32, String^)

 

Returns a raw, unparsed switch by index.

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

int GetRawSwitch(
	int iIndex,
	[OutAttribute] String^% pbstrRawSwitch
)

Parameters

iIndex
Type: System::Int32

[in] Index of the switch to return.

pbstrRawSwitch
Type: System::String^

[out] Pointer to a string containing the raw, unparsed switch.

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::GetRawSwitch(
   [in] int iIndex, 
   [out, retval] BSTR* pbstrRawSwitch
);
Return to top
Show: