ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / AutoCompleteComboBoxSetting Class / GetFilter Method
The string input by user.
The function to get a string which identifies the specified item.

In This Topic
    GetFilter Method (AutoCompleteComboBoxSetting)
    In This Topic
    Gets a filter function which determines whether items should be suggested or not for the specified query. Default: Gets the filter which maps an item to true if its text contains the query (case insensitive).
    Syntax
    Public Overridable Function GetFilter( _
       ByVal query As String, _
       ByVal stringFromItem As Func(Of Object,String) _
    ) As Predicate(Of Object)

    Parameters

    query
    The string input by user.
    stringFromItem
    The function to get a string which identifies the specified item.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also