AppQuery.Property 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Property(String) |
允许对给定属性值进行进一步筛选。 |
Property(String, Boolean) |
匹配 元素上的属性或 getter 方法值。 |
Property(String, Int32) |
匹配 元素上的属性或 getter 方法值。 |
Property(String, String) |
匹配 元素上的属性或 getter 方法值。 |
Property(String)
允许对给定属性值进行进一步筛选。
public Xamarin.UITest.Queries.PropertyAppQuery Property (string propertyName);
member this.Property : string -> Xamarin.UITest.Queries.PropertyAppQuery
Public Function Property (propertyName As String) As PropertyAppQuery
参数
- propertyName
- String
属性的名称。
返回
适用于
Property(String, Boolean)
匹配 元素上的属性或 getter 方法值。
public Xamarin.UITest.Queries.AppQuery Property (string propertyName, bool value);
member this.Property : string * bool -> Xamarin.UITest.Queries.AppQuery
Public Function Property (propertyName As String, value As Boolean) As AppQuery
参数
- propertyName
- String
属性的名称。
- value
- Boolean
要匹配的值。
返回
适用于
Property(String, Int32)
匹配 元素上的属性或 getter 方法值。
public Xamarin.UITest.Queries.AppQuery Property (string propertyName, int value);
member this.Property : string * int -> Xamarin.UITest.Queries.AppQuery
Public Function Property (propertyName As String, value As Integer) As AppQuery
参数
- propertyName
- String
属性的名称。
- value
- Int32
要匹配的值。
返回
适用于
Property(String, String)
匹配 元素上的属性或 getter 方法值。
public Xamarin.UITest.Queries.AppQuery Property (string propertyName, string value);
member this.Property : string * string -> Xamarin.UITest.Queries.AppQuery
Public Function Property (propertyName As String, value As String) As AppQuery
参数
- propertyName
- String
属性的名称。
- value
- String
要匹配的值。