ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Knowledge Namespace / KnowledgeGraph Class / GetDefinition<T> Method
The type of dataset definition.
The name of the table to open.

In This Topic
    GetDefinition<T> Method (KnowledgeGraph)
    In This Topic
    Gets the ArcGIS.Core.Data.TableDefinition or ArcGIS.Core.Data.FeatureClassDefinition associated with name. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public T GetDefinition<T>( 
       string name
    )
    where T: Definition
    Public Function GetDefinition(Of T As Definition)( _
       ByVal name As String _
    ) As T

    Parameters

    name
    The name of the table to open.

    Type Parameters

    T
    The type of dataset definition.

    Return Value

    Exceptions
    ExceptionDescription
    No valid knowledge graphn data store has been opened prior to calling this operation.
    The knowledge graphn data store does not support the Definition type requested.
    name cannot be null or an empty string.
    A geodatabase-related exception has occurred.
    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