Method GetTags
GetTags()
Returns an array of all the TagAsset instances linked to this CatalogItemAsset instance. catalog.
Declaration
public TagAsset[] GetTags()
Returns
| Type | Description |
|---|---|
| TagAsset[] | An array of all the tags linked to this CatalogItemAsset instance. |
Remarks
Keep in mind that this method allocates an array. If you want to avoid allocations, please consider using GetTags(ICollection<TagAsset>) instead.
GetTags(ICollection<TagAsset>)
Fills the given target collection with all the
TagAsset instances linked to this
CatalogItemAsset instance.
The target collection is cleared before being
populated.
Declaration
public int GetTags(ICollection<TagAsset> target)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollection<TagAsset> | target | The target container of all the TagAsset instances. |
Returns
| Type | Description |
|---|---|
| int | The number of TagAsset instances linked to this CatalogItemAsset instance. |