ContainmentModeType Enumeration

The ContainmentModeType enumeration identifies the boundaries of a search.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<SerializableAttribute> _
<XmlTypeAttribute(Namespace:="http://schemas.microsoft.com/exchange/services/2006/types")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
Public Enumeration ContainmentModeType
[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum ContainmentModeType
[SerializableAttribute] 
[XmlTypeAttribute(Namespace=L"http://schemas.microsoft.com/exchange/services/2006/types")] 
[GeneratedCodeAttribute(L"wsdl", L"2.0.50727.42")] 
public enum class ContainmentModeType
/** @attribute SerializableAttribute() */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
public enum ContainmentModeType
SerializableAttribute 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
public enum ContainmentModeType

Members

Member name Description
ExactPhrase Specifies that the comparison is between the exact phrase in the property and the constant. If the phrase and the supplied constant are the same, the expression resolves to true.
FullString Specifies that the comparison is between the full string value of the property and the constant. If the property value and the supplied constant are the same, the expression resolves to true.
Prefixed Specifies that the comparison is between the prefix of the property and the constant. If the prefix of the property value matches the value that is provided in the constant, the expression resolves to true.
PrefixOnWords Specifies that the comparison is between a prefix on any individual word in the property value and the constant. If any of the words are prefixed with a value that matches the value that is provided in the constant, the expression resolves to true.
Substring Specifies that the comparison is between a substring of the property value and the constant. If the substring exists anywhere in the property value, the expression resolves to true.

Remarks

This enumeration is used by the ContainmentMode property of the ContainsExpressionType object.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)

See Also

Reference

ExchangeWebServices Namespace

Other Resources

Contains