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 |
---|---|
System.Collections.Generic.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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.6 - 200.5 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.5 |