MethodData::GetParameterCount Method (Int32)
Visual Studio 2015
Returns the number of parameters available for the specified method signature.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- method
-
Type:
System::Int32
[in] An index in the Methods object to the specified method signature.
Return Value
Type: System::Int32If successful, returns the number of parameters; otherwise, returns 0.
Implements
IVsMethodData::GetParameterCount(Int32)This method is an implementation of the GetParameterCount method on the IVsMethodData interface.
The base method makes sure the method parameter is valid and there is a Methods object. The base method then forwards the call to the GetParameterCount method on the Methods object that was passed to the Refresh method.
Show: