Compartilhar via


IVsParseCommandLine.GetRawSwitchValue(Int32, String) Method

Definition

Returns the raw, unparsed value of the switch by index.

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

Parameters

iIndex
Int32

[in] Index of the switch value to return.

pbstrRawSwitchValue
String

[out] Pointer to a string containing the switch value.

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::GetRawSwitchValue(  
   [in] int iIndex,   
   [out, retval] BSTR* pbstrRawSwitchValue  
);  

Applies to