ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / Item Class / ItemCategories Property
Example

In This Topic
    ItemCategories Property
    In This Topic
    Gets a list of the item categories in which the item participates
    Syntax
    public List<ItemCategory> ItemCategories {get;}
    Public ReadOnly Property ItemCategories As List(Of ItemCategory)
    Example
    Get Item Categories
    // Get the ItemCategories with which an item is associated
    Item gdb = ItemFactory.Instance.Create(@"E:\CurrentProject\RegionalPolling\polldata.gdb");
    List<ItemCategory> gdbItemCategories = gdb.ItemCategories;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also