Methods::GetParameterCount Method (Int32)

 

When implemented in a derived class, gets the number of parameters on the specified method signature.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int GetParameterCount(
	int index
) abstract

Parameters

index
Type: System::Int32

[in] An index into the list of method signatures.

Return Value

Type: System::Int32

The number of parameters on the specified method signature, or -1.

This method is used to track where the user is in the parameter list when entering a method's parameters.

Return to top
Show: