IVsParseCommandLine.GetRawSwitch(Int32, String) Method

Definition

Returns a raw, unparsed switch by index.

public:
 int GetRawSwitch(int iIndex, [Runtime::InteropServices::Out] System::String ^ % pbstrRawSwitch);
int GetRawSwitch(int iIndex, [Runtime::InteropServices::Out] std::wstring const & & pbstrRawSwitch);
public int GetRawSwitch (int iIndex, out string pbstrRawSwitch);
abstract member GetRawSwitch : int * string -> int
Public Function GetRawSwitch (iIndex As Integer, ByRef pbstrRawSwitch As String) As Integer

Parameters

iIndex
Int32

[in] Index of the switch to return.

pbstrRawSwitch
String

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsParseCommandLine::GetRawSwitch(  
   [in] int iIndex,   
   [out, retval] BSTR* pbstrRawSwitch  
);  

Applies to