PropertyAppQuery 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Fluent 查詢 API,用於指定屬性的檢視專案述詞。
public class PropertyAppQuery : Xamarin.UITest.Utils.IFluentInterface
type PropertyAppQuery = class
interface IFluentInterface
Public Class PropertyAppQuery
Implements IFluentInterface
- 繼承
-
PropertyAppQuery
- 實作
建構函式
PropertyAppQuery(QueryPlatform, AppQuery, String) |
屬性查詢的初始建構函式。 不應該直接呼叫,而是在應用程式類別中作為 Fluent API 的一部分使用。 |
屬性
QueryPlatform |
查詢的目標平臺。 針對平臺差異的查詢撰寫擴充方法時很有用。 |
方法
Contains(String) |
比對包含與指定文字的屬性。 |
EndsWith(String) |
比對結尾為指定文字的屬性。 |
Like(String) |
比對指定的文字之類的屬性。 支援 * 萬用字元。 |
Predicate(String, String) |
比對符合指定述詞和文字的屬性。 允許使用未公開的擷取物件述詞。 |
StartsWith(String) |
比對以指定文字開頭的屬性。 |
Value<T>() |
擷取 屬性的值。 |
明確介面實作
IFluentInterface.GetType() |
Fluent 查詢 API,用於指定屬性的檢視專案述詞。 |