Show / Hide Table of Contents

Property Categories

Categories

Gets a list of content category specifications to use when searching for items.

Declaration
public IList<string> Categories { get; }
Property Value
Type Description
IList<System.String>

A list of content category specifications to use when searching for items.

Remarks

Each entry in the list is a string containing a comma-separated list of up to 8 group content categories. The exact full path of each category is required, and an OR relationship is applied between the categories within a particular string.

There can be up to 8 strings with an AND relationship being applied between the different strings.

For example, to search for items belonging to either the Water or Forest categories, both within the US, specify 2 strings as follows: "/Categories/Water,/Categories/Forest" and "/Region/US".

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.8 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.8 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.8 - 100.12
Xamarin.Android100.8 - 100.15
Xamarin.iOS100.8 - 100.15
UWP100.8 - 100.15
In This Article
Back to top Copyright © 2022 Esri.