Method GetPropertyValue
GetPropertyValue(string, string)
Get the property with the given propertyKey
of the item with the given itemId.
Declaration
Property GetPropertyValue(string itemId, string propertyKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemId | The item's identifier. |
| string | propertyKey | The property's identifier. |
Returns
| Type | Description |
|---|---|
| Property | The property's value. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | If either |
| InventoryItemNotFoundException | If there is no item with the given |
| PropertyNotFoundException | If there is no property with the given |