IVsParseCommandLine::GetSwitchCount Method (Int32)
Visual Studio 2015
Returns the number of switches in the command line.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- piSwitchCount
-
Type:
System::Int32
[out] Pointer to an integer containing the number of switches.
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::GetSwitchCount(
[out, retval] int* piSwitchCount
);
Show: