FilterCategoryRule.SetCategories
Method
Description:
Sets the rule's categories.
Sets the rule's categories.
Parameters
| Parameter | Type | Description |
|---|---|---|
| categories | ICollection | The categories. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the set of categories was changed, false if no change was necessary. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | One of the given categories is not filterable |
| ArgumentNullException | A non-optional argument was null |