Share 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
Public Property ContainmentMode As ContainmentModeType
    Get
    Set
'Usage
Dim instance As ContainsExpressionType
Dim value As ContainmentModeType

value = instance.ContainmentMode

instance.ContainmentMode = value
public ContainmentModeType ContainmentMode { get; set; }

Property Value

Type: ExchangeWebServices.ContainmentModeType
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.