Partager via


ContainsExpressionType.ContainmentMode Property

The ContainmentMode property gets or sets a value that identifies the boundaries of a search string.

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

Syntax

'Declaration
<XmlAttributeAttribute> _
Public Property ContainmentMode As ContainmentModeType
[XmlAttributeAttribute] 
public ContainmentModeType ContainmentMode { get; set; }
[XmlAttributeAttribute] 
public:
property ContainmentModeType ContainmentMode {
    ContainmentModeType get ();
    void set (ContainmentModeType value);
}
/** @property */
public ContainmentModeType get_ContainmentMode ()

/** @property */
public void set_ContainmentMode (ContainmentModeType value)
public function get ContainmentMode () : ContainmentModeType

public function set ContainmentMode (value : ContainmentModeType)

Property Value

The ContainmentMode property returns a ContainmentModeType enumeration that identifies the boundaries of a search string.

Remarks

If this property is not set, the containment mode will use FullString by default.

You must set the ContainmentModeSpecified property to true so that the ContainmentMode property is serialized into the SOAP message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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)