Table of Contents

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 string

Specifies source text.

node ISyntaxNode

Specifies ISyntaxNode representing current language element.

name string

Retrieves name of found method.

position Point

Retrieves start position of the method in the code text.

endPos Point

Retrieves end position of the method in the code text.

paramIndex int

Retrieves index of current parameter in the code text.

paramCount int

Retrieves parameters count in the code text.

scope CodeCompletionScope

Retrieves information about search constraints for the language element.

Returns

object

Object representing information about found method.