Method ContainsCategory
ContainsCategory(string)
Tells whether or not a CategoryAsset with the given
id exists in this catalog.
Declaration
public bool ContainsCategory(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The identifier of the CategoryAsset to find. |
Returns
| Type | Description |
|---|---|
| bool |
|
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | If the |