ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / FeatureDataset Class / GetDefinitions<T> Method
The type of dataset definition.

In This Topic
    GetDefinitions<T> Method (FeatureDataset)
    In This Topic
    Gets an IReadOnlyList of specific Definition instances associated with each dataset of type T in the feature dataset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<T> GetDefinitions<T>()
    where T: Definition
    Public Function GetDefinitions(Of T As Definition)() As IReadOnlyList(Of T)

    Type Parameters

    T
    The type of dataset definition.

    Return Value

    An IReadOnlyList of specific Definition instances corresponding to type T.
    Exceptions
    ExceptionDescription
    The DatasetType corresponding to type T is not supported.
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also