IVsParseCommandLine.GetSwitchValueCount(Int32) Method

Definition

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  
);  

Applies to