List Class
Represents a collection of values.
Inheritance Hierarchy
SystemObject
  SeleniumList
    SeleniumCookies
    SeleniumWebElements

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

The List type exposes the following members.

Constructors
  NameDescription
Public methodList
Creates a new list object
Public methodList(Array)
Creates a new list object
Public methodList(Int32)
Creates a new list object
Top
Methods
  NameDescription
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
Top
Properties
  NameDescription
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
Top
See Also