interface IList

in global :: System . Collections

Represents a non-generic collection of objects that can be individually accessed by index.


public int Add( object value )

Adds an item to the .

  • value The object to add to the .
  • Returns The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.

public bool Contains( object value )

Determines whether the contains a specific value.

  • value The object to locate in the .
  • Returns if the is found in the ; otherwise, .

public int IndexOf( object value )

Determines the index of a specific item in the .

  • value The object to locate in the .
  • Returns The index of if found in the list; otherwise, -1.

public void Insert( int index, object value )

Inserts an item to the at the specified index.

  • index The zero-based index at which should be inserted.
  • value The object to insert into the .

public bool IsFixedSize { get; }

Gets a value indicating whether the has a fixed size.

  • Returns if the has a fixed size; otherwise, .

public bool IsReadOnly { get; }

Gets a value indicating whether the is read-only.

  • Returns if the is read-only; otherwise, .

public void Remove( object value )

Removes the first occurrence of a specific object from the .

  • value The object to remove from the .

public void RemoveAt( int index )

Removes the item at the specified index.

  • index The zero-based index of the item to remove.

public object Item { get; set; }

😔 No documentation found.

public void Clear( )

😔 No documentation found.