Method HasProperty
HasProperty(string)
Check if this item has a property for the given key.
Declaration
public bool HasProperty(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The identifier of the property to look for. |
Returns
| Type | Description |
|---|---|
| bool |
|
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | If the |
| NullReferenceException | If this item has been discarded. |