Categories.Insert
Method
Description:
Inserts the specified category with the specified name into the map.
Inserts the specified category with the specified name into the map.
Parameters
| Parameter | Type | Description |
|---|---|---|
| key | String | The name to be used for inserting the category into the map. |
| item | Category | The category to be inserted into the map. |
Return Value
| Type | Description |
|---|---|
| Boolean | Whether or not the category was inserted into the map. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Always thrown; this list is read only. |