IsEqualToIsEqualTo

IsEqualTo元素表示搜索表达式,该表达式将属性与常数值或其他属性进行比较,如果它们相等,则计算结果为 true。The IsEqualTo element represents a search expression that compares a property with either a constant value or another property and evaluates to true if they are equal.

<IsEqualTo>
   <FieldURI/>
   <FieldURIOrConstant/>
</IsEqualTo>
<IsEqualTo>
   <ExtendedFieldURI/>
   <FieldURIOrConstant/>
</IsEqualTo>
<IsEqualTo>
   <IndexedFieldURI/> 
   <FieldURIOrConstant/>
</IsEqualTo>

IsEqualToTypeIsEqualToType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
FieldURIFieldURI
标识由 URI 频繁引用的属性。Identifies frequently referenced properties by URI.
IndexedFieldURIIndexedFieldURI
标识词典中的各个成员。Identifies individual members of a dictionary.
ExtendedFieldURIExtendedFieldURI
标识 MAPI 属性。Identifies MAPI properties.
FieldURIOrConstantFieldURIOrConstant
表示与其他属性进行比较时要使用的属性或常数值。Represents either a property or a constant value to be used when comparing with another property.

父元素Parent elements

元素Element 说明Description
限制Restriction
表示用于在 FindItem/FindFolder 中筛选项目或文件夹和搜索文件夹操作的限制或查询。Represents the restriction or query that is used to filter items or folders in FindItem/FindFolder and search folder operations.
notNot
表示对其包含的搜索表达式的布尔值求反的搜索表达式。Represents a search expression that negates the Boolean value of the search expression that it contains.
AndAnd
表示允许您在两个或多个搜索表达式之间执行布尔 And 运算的搜索表达式。Represents a search expression that allows you to perform a Boolean And operation between two or more search expressions. 如果和中包含的所有搜索表达式均为 true,则 and 操作的结果为trueThe result of the And operation is true if all of the search expressions contained within the And are true.
Or
表示在其包含的搜索表达式上执行逻辑 OR 的搜索表达式。Represents a search expression that performs a logical OR on the search expression that it contains. 或者,如果其任何子级返回 true,则返回 true。Or will return true if any of its children return true. Or 必须有两个或多个子级。Or must have two or more children.

说明Remarks

若要执行字符串比较,请考虑使用Contains元素,因为它提供了匹配参数的选项,如大小写和空格。To perform string comparisons, consider using the Contains element, as it provides options for matching parameters, such as case and white space. Not元素与Contains元素一起使用可对结果取负。Use the Not element in conjunction with the Contains element to negate the result.

描述此元素的架构位于正在运行 MicrosoftExchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/types
架构名称Schema Name
类型架构Types schema
验证文件Validation File
Types.xsdTypes.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also