IsNotEqualTo

Topic Last Modified: 2008-01-02

The IsNotEqualTo element represents a search expression that compares a property with either a constant value or another property and returns true if the values are not the same.

Syntax

<IsNotEqualTo>
   <FieldURI/>
   <FieldURIOrConstant/>
</IsNotEqualTo>

<IsNotEqualTo>
   <IndexedFieldURI/>
   <FieldURIOrConstant/>
</IsNotEqualTo>

<IsNotEqualTo>
   <ExtendedFieldURI/>
   <FieldURIOrConstant/>
</IsNotEqualTo>

Type

IsNotEqualToType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

FieldURI

Identifies frequently referenced properties by URI.

IndexedFieldURI

Identifies individual members of a dictionary.

ExtendedFieldURI

Identifies MAPI properties.

FieldURIOrConstant

Represents either a property or a constant value to be used when comparing with another property.

Parent Elements

Element Description

Restriction

Represents the restriction or query that is used to filter items or folders in FindItem/FindFolder and search folder operations.

Not

Represents a search expression that negates the Boolean value of the search expression that it contains.

And

Represents a search expression that allows you to perform a Boolean And operation between two or more search expressions. The result of the And operation is true if all of the search expressions contained within the And are true.

Or

Represents a search expression that performs a logical OR on the search expression that it contains. Or will return true if any of its children return true. Or must have two or more children.

Remarks

To perform string comparisons, consider using the Contains element, as it provides options for matching parameters such as case and white space. Use the Not element in conjunction with the Contains element to negate the result.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange 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.xsd

Can be Empty

False

See Also

Other Resources

Exchange Web Services XML Elements