IVsParseCommandLine::GetSwitchValue Method (Int32, String^)
Visual Studio 2015
Gets the parsed value of a switch by index.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- iSwitchIndex
-
Type:
System::Int32
[in] Index of the switch value to return.
- pbstrValue
-
Type:
System::String^
[out] Pointer to a string containing the switch value.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsParseCommandLine::GetSwitchValue( [in] int iSwitchIndex, [out, retval] BSTR* pbstrValue );
Show: