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 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".
The categories property is ignored if the PortalQueryParameters is used to search for groups using FindGroupsAsync(PortalQueryParameters).
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |