Method FindItemsByTag
FindItemsByTag(TagAsset, ICollection<TItemAsset>)
Fills in the given target collection with all
TItemAsset instances of this catalog matching the
given tag and returns their count.
The target collection is cleared before being
populated.
Declaration
public int FindItemsByTag(TagAsset tag, ICollection<TItemAsset> target = null)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAsset | tag | The Tag instance used as a filter |
| ICollection<TItemAsset> | target | The target container of all the matching
|
Returns
| Type | Description |
|---|---|
| int | The number of |
FindItemsByTag(string, ICollection<TItemAsset>)
Fills in the given target collection with all
TItemAsset instances of this catalog matching
the TagAsset by its key and
returns their count.
The target collection is cleared before being
populated.
Declaration
public int FindItemsByTag(string key, ICollection<TItemAsset> target = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The identifier of the TagAsset instance used as a filter |
| ICollection<TItemAsset> | target | The target container of all the matching
|
Returns
| Type | Description |
|---|---|
| int | The number of |
FindItemsByTag<TInheritedItemAsset>(TagAsset, ICollection<TItemAsset>)
Fills in the given target collection with all
TInheritedItemAsset instances of this catalog
matching the given tag and returns their
count.
The target collection is cleared before being
populated.
Declaration
public int FindItemsByTag<TInheritedItemAsset>(TagAsset tag, ICollection<TItemAsset> target = null) where TInheritedItemAsset : TItemAsset
Parameters
| Type | Name | Description |
|---|---|---|
| TagAsset | tag | The TagAsset instance used as a filter |
| ICollection<TItemAsset> | target | The target container of all the matching
|
Returns
| Type | Description |
|---|---|
| int | The number of |
Type Parameters
| Name | Description |
|---|---|
| TInheritedItemAsset |
FindItemsByTag<TInheritedItemAsset>(TagAsset)
Returns an array of all the
TInheritedItemAsset instances of this catalog
matching the given tag
Declaration
public TItemAsset[] FindItemsByTag<TInheritedItemAsset>(TagAsset tag) where TInheritedItemAsset : TItemAsset
Parameters
| Type | Name | Description |
|---|---|---|
| TagAsset | tag | The TagAsset instance used as a filter |
Returns
| Type | Description |
|---|---|
| TItemAsset[] | The number of |
Type Parameters
| Name | Description |
|---|---|
| TInheritedItemAsset |
FindItemsByTag<TInheritedItemAsset>(string, ICollection<TItemAsset>)
Fills in the given target collection with all
TInheritedItemAsset instances of this catalog
matching the tag by its
key and returns their count.
The target collection is cleared before being
populated.
Declaration
public int FindItemsByTag<TInheritedItemAsset>(string key, ICollection<TItemAsset> target = null) where TInheritedItemAsset : TItemAsset
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | |
| ICollection<TItemAsset> | target | The target container of all the matching
|
Returns
| Type | Description |
|---|---|
| int | The number of |
Type Parameters
| Name | Description |
|---|---|
| TInheritedItemAsset |
FindItemsByTag<TInheritedItemAsset>(string)
Returns an array of all the
TInheritedItemAsset instances of this catalog
matching the TagAsset by its key
Declaration
public TItemAsset[] FindItemsByTag<TInheritedItemAsset>(string key) where TInheritedItemAsset : TItemAsset
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The TagAsset instance used as a filter |
Returns
| Type | Description |
|---|---|
| TItemAsset[] | The number of |
Type Parameters
| Name | Description |
|---|---|
| TInheritedItemAsset |
FindItemsByTag(TagAsset)
Returns an array of all the
TItemAsset instances of this catalog
matching the given tag
Declaration
public TItemAsset[] FindItemsByTag(TagAsset tag)
Parameters
| Type | Name | Description |
|---|---|---|
| TagAsset | tag |
Returns
| Type | Description |
|---|---|
| TItemAsset[] | The number of |
FindItemsByTag(string)
Returns an array of all the
TItemAsset instances of this catalog
matching the TagAsset by its key
Declaration
public TItemAsset[] FindItemsByTag(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The TagAsset instance used as a filter |
Returns
| Type | Description |
|---|---|
| TItemAsset[] | The number of |