Method FindCategory
FindCategory(string)
Looks for a Category, linked to this
CatalogItem instance, by its id.
Declaration
public Category FindCategory(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id |
Returns
| Type | Description |
|---|---|
| Category | If found, returns the Category instance,
othewise |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | The |