IVsParseCommandLine::GetSwitchValueCount Method (Int32)

 

Gets the number of switch values on the command line.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetSwitchValueCount(
	[OutAttribute] int% piSwitchValueCount
)

Parameters

piSwitchValueCount
Type: System::Int32

[out] Pointer to an integer containing the number of switch values.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsParseCommandLine::GetSwitchValueCount(
   [out, retval] int* piSwitchValueCount
);
Return to top
Show: