ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraph Class / GetSupportedSearchTargets Method

In This Topic
    GetSupportedSearchTargets Method
    In This Topic
    Gets the supported search targets for the knowledge graph. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<KnowledgeGraphNamedTypeCategory> GetSupportedSearchTargets()
    Public Function GetSupportedSearchTargets() As IReadOnlyList(Of KnowledgeGraphNamedTypeCategory)

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Only one of the search targets in this list can be used as the search target in KnowledgeGraphSearchFilter.SearchTarget.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also