Interface IAimpObjectList<TObject>
This is a list of general purpose, it can contains any interfaces.
Namespace: AIMP.SDK
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpObjectList<TObject>
Type Parameters
Name | Description |
---|---|
TObject | The type of elements in the list. |
Properties
Count
Gets the count.
Declaration
int Count { get; }
Methods
Add(TObject)
Adds an item to the collection.
Declaration
AimpActionResult Add(TObject entry)
Parameters
Type | Name | Description |
---|---|---|
TObject | entry | The object to add to the collection. |
Clear()
Removes all items from the list.
Declaration
AimpActionResult Clear()
Delete(Int32)
Removes the item at the specified index.
Declaration
AimpActionResult Delete(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the item to remove. |
GetObject(Int32, out TObject)
Gets the element at the specified index.
Declaration
AimpActionResult GetObject(int index, out TObject item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to get. |
TObject | item | The item at specified |
Insert(Int32, TObject)
Inserts an item to the collection at the specified index.
Declaration
AimpActionResult Insert(int index, TObject item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which |
TObject | item | The object to insert into the collection. |
SetObject(Int32, TObject)
Sets the element at the specified index.
Declaration
AimpActionResult SetObject(int index, TObject item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to set. |
TObject | item | The item to set. |