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