List Class
Represents a collection of values.
Inheritance Hierarchy

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: (
VB Usage
Dim instance As List

The List type exposes the following members.

Public methodList
Creates a new list object
Public methodList(Array)
Creates a new list object
Public methodList(Int32)
Creates a new list object
Public methodAdd
Adds a value in the list
Public methodAddRange
Adds multiple values at once in the list
Public methodClear
Clears the list
Public methodContains
Return true if the list contains the value.
Public methodConvertT
Converts each value.
Public methodCopyTo
Copies the values to an array
Public methodDistinct
Remove duplicates
Public methodFirst
Returns the first item
Public methodGetEnumerator
Returns the List enumerator
Public methodIndexOf
Returns the index of the value
Public methodInsert
Insert a value at index
Public methodLast
Returns the last item
Public methodLastIndexOf
The index of the value starting from the end.
Public methodRemove
Remove the value
Public methodRemoveAt
Remove the value at index
Public methodSort
Sorts the elements
Public methodToArray
Returns an array with the values
Public methodCode exampleToExcel
Copies the values to Excel. The target can be an address, a worksheet or a range.
Public methodValues
Returns an array with the values
Public propertyCount
Returns the number of itens
Public propertyIsFixedSize
Not available
Public propertyIsReadOnly
Not available
Public propertyIsSynchronized
Retuns false
Public propertyItem
Return the item at index
Public propertySyncRoot
Retuns null
See Also