Method GetMethodType
- Namespace
- Alternet.Syntax.CodeCompletion
- Assembly
- Alternet.Syntax.v9.dll
GetMethodType(string, ISyntaxNode, ref string, ref Point, ref Point, out int, out int, out CodeCompletionScope)
When implemented by a class, obtains information about some method of specified language element.
object GetMethodType(string text, ISyntaxNode node, ref string name, ref Point position, ref Point endPos, out int paramIndex, out int paramCount, out CodeCompletionScope scope)
Parameters
text
stringSpecifies source text.
node
ISyntaxNodeSpecifies
ISyntaxNode
representing current language element.name
stringRetrieves name of found method.
position
PointRetrieves start position of the method in the code text.
endPos
PointRetrieves end position of the method in the code text.
paramIndex
intRetrieves index of current parameter in the code text.
paramCount
intRetrieves number of the parameters.
scope
CodeCompletionScopeRetrieves information about search constraints for the language element.
Returns
- object
Object representing information about found method.