Method HasTag
HasTag(TagAsset)
Tells whether or not the given tag is within
this CatalogItemAsset instance.
Declaration
public bool HasTag(TagAsset tag)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAsset | tag | The TagAsset instance. to search for. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not this CatalogItemAsset instance has the specified TagAsset included. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If the
|
HasTag(string)
Tells whether or not a TagAsset instance with the
given key is within this
CatalogItemAsset instance.
Declaration
public bool HasTag(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The identifier of a TagAsset instance. |
Returns
| Type | Description |
|---|---|
| bool | Whether or not this CatalogItemAsset instance
has a Tag with the given |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If the
|