IVsParseCommandLine.GetSwitchCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of switches in the command line.
public:
int GetSwitchCount([Runtime::InteropServices::Out] int % piSwitchCount);
int GetSwitchCount([Runtime::InteropServices::Out] int & piSwitchCount);
public int GetSwitchCount (out int piSwitchCount);
abstract member GetSwitchCount : int -> int
Public Function GetSwitchCount (ByRef piSwitchCount As Integer) As Integer
Parameters
- piSwitchCount
- Int32
[out] Pointer to an integer containing the number of switches.
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::GetSwitchCount(
[out, retval] int* piSwitchCount
);