AndCondition 類別
表示查詢的 AND 條件。
繼承階層架構
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
Microsoft.VisualStudio.TestTools.UITest.Extension.AndCondition
命名空間: Microsoft.VisualStudio.TestTools.UITest.Extension
組件: Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
語法
'宣告
Public Class AndCondition _
Inherits QueryCondition
public class AndCondition : QueryCondition
public ref class AndCondition : public QueryCondition
type AndCondition =
class
inherit QueryCondition
end
public class AndCondition extends QueryCondition
AndCondition 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
AndCondition() | 初始化 AndCondition 類別的新執行個體。 |
![]() |
AndCondition(array<IQueryCondition[]) | 使用提供的條件,初始化 AndCondition 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Conditions | 取得或設定巢狀查詢條件的陣列。 (繼承自 QueryCondition)。 |
![]() |
ConditionsWrapper | 取得或設定序列化的巢狀條件。 (繼承自 QueryCondition)。 |
![]() |
Name | 取得或設定這個查詢條件的名稱。 (繼承自 QueryCondition)。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
BindParameters | 使用指定的值對應,將參數繫結至此查詢條件中的屬性。 (繼承自 QueryCondition)。 |
![]() |
Equals | 傳回值,這個值表示提供的物件是否等於這個查詢條件。 (繼承自 QueryCondition)。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 做為預設雜湊函式。 (繼承自 QueryCondition)。 |
![]() |
GetPropertyValue | 擷取具名屬性的值 (如果此屬性存在)。 (繼承自 QueryCondition)。 |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
Match | 判斷提供的項目是否符合此條件。 (覆寫 QueryCondition.Match(IUITechnologyElement)。) |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
ParameterizeProperty | 使用指定的參數名稱參數化指定的屬性。 (繼承自 QueryCondition)。 |
![]() ![]() |
Parse | 將提供的字串剖析為 AndCondition 物件。 |
![]() |
ToString | 傳回此 AND 條件的字串表示。 (覆寫 QueryCondition.ToString()。) |
回頁首
欄位
名稱 | 描述 | |
---|---|---|
![]() ![]() |
ConditionDelimiter | 傳回 "&&",用來隔開 AND 條件中的巢狀條件。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。