ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / FavoritesManager Class / GetFavoritesCount Method

In This Topic
    GetFavoritesCount Method
    In This Topic
    Gets the total number of items marked as favorites.
    Syntax
    Public Function GetFavoritesCount() As Integer
    public int GetFavoritesCount()

    Return Value

    The number of items currently marked as favorites.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also