Method FindCategory
FindCategory(string)
Returns specified CategoryAsset by its
id
.
Declaration
public CategoryAsset FindCategory(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | The identifier of the CategoryAsset to find. |
Returns
Type | Description |
---|---|
CategoryAsset | If found, it returns the requested
CategoryAsset, otherwise |
Exceptions
Type | Condition |
---|---|
ArgumentException | If the |