ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraphCursor Class / FindKey Method

In This Topic
    FindKey Method
    In This Topic
    Gets the index of the specified key. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int FindKey( 
       string keyName
    )
    Public Function FindKey( _
       ByVal keyName As String _
    ) As Integer

    Parameters

    keyName

    Return Value

    The index of the specified key if present in the cursor.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also