AutoCompleteItemsProvider.GetAutoCompleteItems(String, Int32) Method

Returns the collection of suggestions corresponding to a specific caret position within an expression.

Namespace: DevExpress.DataAccess.ExpressionEditor

Assembly: DevExpress.DataAccess.v20.2.dll


public virtual IEnumerable<AutoCompleteItem> GetAutoCompleteItems(
    string expression,
    int caretPosition
Public Overridable Function GetAutoCompleteItems(
    expression As String,
    caretPosition As Integer
) As IEnumerable(Of AutoCompleteItem)


Name Type Description
expression String

A String value, specifying the expression.

caretPosition Int32

An integer value, specifying the symbol in the expression where the caret position is.


Type Description

A collection of AutoCompleteItem objects.

See Also