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

    GetDefinitions<T> Method (FeatureDataset)
    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

    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