List Class

Represents mutable List semantics in JavaScript

Namespace: SharpKit.Rx

Base Types

System.Object

Constructors

Name Description
List() Creates a new List.
List(Func<object, bool, bool>)

Methods

Name Description
Add(object) Adds item to the list.
Clear() Clears the list.
GetCount() Returns the amount of items in the list.
GetItem(int) returns item at position index.
IndexOf(object) Searches item in the list and returns it index if found, returns -1 otherwise.
Remove(object) Tries to remove item from list, returns boolean indicating success.
RemoveAt(int) Removes item at index.
SetItem(int, object) Replaces value at postition index with item.
ToArray()
© Copyright 2005-2011 SharpKit. All rights reserved.