List クラス
値の一覧を保持し、インデックスアクセスや列挙など、テストや補助ロジックで配列的に使うためのクラスです。
継承階層
SystemObject
  SeleniumList
    SeleniumCookies
    SeleniumWebElements

名前空間: Selenium
アセンブリ: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
構文
VB 使用例
Dim instance As List

List には次のメンバーが定義されています。

コンストラクター
  名前説明
公開メソッドList
新しいリストオブジェクトを作成します。
公開メソッドList(Array)
新しいリストオブジェクトを作成します。
公開メソッドList(Int32)
新しいリストオブジェクトを作成します。
ページ先頭
メソッド
  名前説明
公開メソッドAdd
Adds a value in the list
公開メソッドAddRange
Adds multiple values at once in the list
公開メソッドClear
Clears the list
公開メソッドContains
Return true if the list contains the value.
公開メソッドConvertT
Converts each value.
公開メソッドCopyTo
Copies the values to an array
公開メソッドDistinct
Remove duplicates
公開メソッドFirst
最初の項目を返します。
公開メソッドGetEnumerator
リストの列挙子を返します。
公開メソッドIndexOf
値のインデックスを返します。
公開メソッドInsert
Insert a value at index
公開メソッドLast
最後の項目を返します。
公開メソッドLastIndexOf
The index of the value starting from the end.
公開メソッドRemove
Remove the value
公開メソッドRemoveAt
Remove the value at index
公開メソッドSort
Sorts the elements
公開メソッドToArray
値の配列を返します。
公開メソッドコード例ToExcel
値を Excel にコピーします。宛先はアドレス、ワークシート、または範囲にできます。
公開メソッドValues
値の配列を返します。
ページ先頭
プロパティ
  名前説明
公開プロパティCount
項目数を返します。
公開プロパティIsFixedSize
利用できません。
公開プロパティIsReadOnly
利用できません。
公開プロパティIsSynchronized
常に False を返します。
公開プロパティItem
インデックス位置の項目を返します。
公開プロパティSyncRoot
常に null を返します。
ページ先頭
参照