IVsParseCommandLine.GetSwitchValueCount(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.
Gets the number of switch values on the command line.
public:
int GetSwitchValueCount([Runtime::InteropServices::Out] int % piSwitchValueCount);
int GetSwitchValueCount([Runtime::InteropServices::Out] int & piSwitchValueCount);
public int GetSwitchValueCount (out int piSwitchValueCount);
abstract member GetSwitchValueCount : int -> int
Public Function GetSwitchValueCount (ByRef piSwitchValueCount As Integer) As Integer
Parameters
- piSwitchValueCount
- Int32
[out] Pointer to an integer containing the number of switch values.
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::GetSwitchValueCount(
[out, retval] int* piSwitchValueCount
);