SearchCondition.Values Property

Definition

获取或设置要在可搜索属性中搜索的值。Gets or sets values the values to search for in the searchable property.

public:
 property cli::array <System::String ^> ^ Values { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.Xml.Serialization.XmlArrayItem("Value")]
public string[] Values { get; set; }
[<System.Xml.Serialization.XmlArrayItem("Value")>]
member this.Values : string[] with get, set
Public Property Values As String()

Property Value

String[]

一个string数组,该数组表示要在可搜索属性中搜索的值。A string array that represent the values to search for in the searchable property.

Attributes

Remarks

字符串格式依赖于的数组的大小 ConditionThe size of the array the string format depend on the value of Condition:

  • 如果 Condition 设置为 EqualsContains ,则数组必须包含单个字符串。If Condition is set to Equals or Contains, the array must contain a single string.

  • 如果 Condition 设置为 Between ,则数组必须包含两个日期和时间格式的字符串。If Condition is set to Between, the array must contain two strings in date and time format.

  • 如果 Condition 设置为 In ,则数组可以包含一个或多个字符串。If Condition is set to In, the array can contain one or more strings.

Applies to