Collection Class
namespace Noesis
Represents a generic collection of objects that can be individually accessed by index.
Methods
Name | Description |
---|---|
Add | Adds an item to the collection. Returns The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection |
Contains | Determines whether the collection contains a specific value |
Get | Gets the element at the specified index |
IndexOf | Determines the index of a specific item in the collection. Returns -1 if not found |
Insert | Inserts an item to the collection at the specified index |
Remove | Removes the first occurrence of a specific object from the collection. Returns true if item was removed, false to indicate that the item was not found in the collection |
Set | Sets the element at the specified index |
Properties
Collection has no properties