PropertyCondition 類別
表示屬性的查詢條件。
繼承階層架構
Object
Microsoft.VisualStudio.TestTools.UITest.Extension.QueryCondition
Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition
命名空間: Microsoft.VisualStudio.TestTools.UITest.Extension
組件: Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
語法
'宣告
Public Class PropertyCondition _
Inherits QueryCondition
public class PropertyCondition : QueryCondition
public ref class PropertyCondition : public QueryCondition
type PropertyCondition =
class
inherit QueryCondition
end
public class PropertyCondition extends QueryCondition
PropertyCondition 類型會公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
PropertyCondition() | 初始化 PropertyCondition 類別的新執行個體。 |
![]() |
PropertyCondition(String, Object) | 使用提供的屬性名稱和值,初始化 PropertyCondition 類別的新執行個體。 |
![]() |
PropertyCondition(String, Object, PropertyConditionOperator) | 初始化 PropertyCondition 類別的新執行個體。 |
回頁首
屬性
名稱 | 描述 | |
---|---|---|
![]() |
Conditions | 取得或設定巢狀查詢條件的陣列。 (繼承自 QueryCondition)。 |
![]() |
ConditionsWrapper | 取得或設定序列化的巢狀條件。 (繼承自 QueryCondition)。 |
![]() |
Name | 取得或設定這個查詢條件的名稱。 (繼承自 QueryCondition)。 |
![]() |
ParameterName | 取得或設定參數的名稱。 |
![]() |
PropertyName | 取得或設定屬性的名稱。 |
![]() |
PropertyOperator | 取得或設定屬性名稱和值的運算子。 |
![]() |
PropertyOperatorWrapper | 取得或設定這個屬性條件運算子的字串表示。 |
![]() |
Value | 取得或設定屬性條件的值。 |
![]() |
ValueWrapper | 取得或設定屬性條件值的字串版本。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
BindParameters | 使用指定的值對應,將參數繫結至此屬性條件中的屬性。 (覆寫 QueryCondition.BindParameters(ValueMap)。) |
![]() |
Equals | 傳回值,這個值表示所提供的物件是否等於目前的物件。 (覆寫 QueryCondition.Equals(Object)。) |
![]() ![]() |
Escape | 傳回所提供字串的逸出字串。 |
![]() |
Finalize | 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。 |
![]() |
GetHashCode | 傳回這個屬性條件的雜湊程式碼。 (覆寫 QueryCondition.GetHashCode()。) |
![]() |
GetPropertyValue | 傳回指定屬性名稱的值。 (覆寫 QueryCondition.GetPropertyValue(String)。) |
![]() |
GetType | 取得目前實例 Type 的屬性。 (繼承自 Object)。 |
![]() |
Match | 判斷提供的項目是否符合目前的屬性條件。 (覆寫 QueryCondition.Match(IUITechnologyElement)。) |
![]() |
MemberwiseClone | 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。 |
![]() |
ParameterizeProperty | 將這個屬性條件的屬性參數化。 (覆寫 QueryCondition.ParameterizeProperty(String, String)。) |
![]() ![]() |
Parse | 針對提供的組態建立 PropertyCondition。 |
![]() |
ToString | 傳回目前屬性條件的字串表示。 (覆寫 QueryCondition.ToString()。) |
![]() ![]() |
Unescape | 不要逸出所提供字串中任何逸出的字元。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。