Method GetStoreItems
GetStoreItems()
Gets all the StoreItemObject.
Declaration
public StoreItemObject[] GetStoreItems()
Returns
Type | Description |
---|---|
StoreItemObject[] | The collection of StoreItemObject |
Remarks
Keep in mind that this version allocates. For a non-allocation version, check GetStoreItems(ICollection<StoreItemObject>).
GetStoreItems(ICollection<StoreItemObject>)
Adds all the StoreItemObject to the given
target
.
Declaration
public int GetStoreItems(ICollection<StoreItemObject> target)
Parameters
Type | Name | Description |
---|---|---|
ICollection<StoreItemObject> | target | The target collection where the StoreItemObject are added. |
Returns
Type | Description |
---|---|
int | The number of StoreItemObject added. |