Constant

The Constant element identifies a constant value in a restriction.

<Constant Value="" />

ConstantValueType

Attributes and elements

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

Attributes

Attribute Description
Value
Specifies the value to compare in the restriction.

Child elements

None.

Parent elements

Element Description
Contains
Represents a search expression that determines whether a given property contains the supplied constant string value.
FieldURIOrConstant
Represents either a property or a constant value to be used when comparing with another property.

Remarks

The string value in the Value attribute must be coercible into the type you are trying to compare against. For example, if you are comparing a date/time property against a constant value, the string value must represent a date/time.

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

Element Example
Namespace
https://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also