AuthoringScope.GetMethods Method (Int32, Int32, String)
Returns a list of overloaded method signatures for a specified method name.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
[in] The line number where the parse for method signatures started.
[in] The offset into the line where the parse for method signatures started.
[in] The name of the method for which to get permutations.
This method is called to obtain a list of overloaded methods to show in the IntelliSense method tip. Note that the parse operation has been completed by the time this method is called.
In the default managed package framework implementation, the Source class method MethodTip is called when a parse operation returns MethodTip from the TokenTriggers enumeration. This in turn triggers a quick parse with the reason MethodTip from the ParseReason enumeration. When that parse operation completes, the method is called to return a list of method signatures matching the specified string. Note that the returned object is always your implementation of the Methods class.