ArcGIS Pro 3.0 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, Windows 8.1

    See Also