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)
Obtains information about some method of specified language element.
public virtual 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 parameters count in the code text.
scope
CodeCompletionScopeRetrieves information about search constraints for the language element.
Returns
- object
Object representing information about found method.