IList

Overview

List interface.

Location


 

Add

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

Clear

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Contains

returns true if this list contains this value.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

Count    (declared in ICollection)

Contains the number of elements.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

GetEnumerator    (declared in IEnumerable)

Returns the enumerable.

 

method GetEnumerator: IEnumerator

 

IEnumerator GetEnumerator()

 

func GetEnumerator() -> IEnumerator

 

IEnumerator GetEnumerator()

 

Function GetEnumerator() As IEnumerator

Item

Access a value by index.

 

property Item[i: Int32]: Object read write;

 

Object Item[Int32 i] { get; set; }

 

subscript Item(_ i: Int32) -> Object { get{} set{} }

 

Object Item[Int32 i] { __get; __set; }

 

Property Item(i As Int32) As Object

Remove

removes an item from list, implementations that don't support this should throw.

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val:

 

Count    (declared in ICollection)

Contains the number of elements.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Item

Access a value by index.

 

property Item[i: Int32]: Object read write;

 

Object Item[Int32 i] { get; set; }

 

subscript Item(_ i: Int32) -> Object { get{} set{} }

 

Object Item[Int32 i] { __get; __set; }

 

Property Item(i As Int32) As Object

 

Add

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

Clear

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Contains

returns true if this list contains this value.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

GetEnumerator    (declared in IEnumerable)

Returns the enumerable.

 

method GetEnumerator: IEnumerator

 

IEnumerator GetEnumerator()

 

func GetEnumerator() -> IEnumerator

 

IEnumerator GetEnumerator()

 

Function GetEnumerator() As IEnumerator

Remove

removes an item from list, implementations that don't support this should throw.

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val: