ActionList 類別
代表 UITest 中的動作清單。
繼承階層架構
Object
Microsoft.VisualStudio.TestTools.UITest.Common.ActionList
命名空間: Microsoft.VisualStudio.TestTools.UITest.Common
組件: Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
語法
'宣告
Public Class ActionList
public class ActionList
public ref class ActionList
type ActionList = class end
public class ActionList
ActionList 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
ActionList | 初始化 ActionList 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Actions | 取得動作的清單。 |
![]() |
Count | 取得這個清單中的動作數目。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
AddRange | 將提供的清單中的動作新增至此動作清單的結尾。 |
![]() |
Delete | 從具有指定 ID 的清單中刪除動作。 |
![]() |
DeleteRange | 刪除此動作清單中的動作範圍。 |
![]() |
Equals(Object) | 判斷提供的物件是否等於此動作清單物件。 (覆寫 Object.Equals(Object)。) |
![]() |
Equals(ActionList) | 判斷提供的動作清單是否等於此動作清單物件。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
Find | 搜尋具有指定識別碼的動作並傳回該動作。 |
![]() |
FindIndex | 傳回擁有指定識別碼之動作的索引。 |
![]() |
GetActionsOfType<T> | 傳回此動作清單中特定類型之可列舉的動作清單。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (覆寫 Object.GetHashCode。) |
![]() |
GetRange | 傳回集合,其中包含此動作清單中指定的動作範圍。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
ToString | 傳回代表目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。