RestrictionType.Item Property

The Item property gets or sets a search expression that represents a restriction.

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

Syntax

'Declaration
<XmlElementAttribute("Not", GetType(NotType))> _
<XmlElementAttribute("IsNotEqualTo", GetType(IsNotEqualToType))> _
<XmlElementAttribute("Or", GetType(OrType))> _
<XmlElementAttribute("SearchExpression", GetType(SearchExpressionType))> _
<XmlElementAttribute("And", GetType(AndType))> _
<XmlElementAttribute("Contains", GetType(ContainsExpressionType))> _
<XmlElementAttribute("Excludes", GetType(ExcludesType))> _
<XmlElementAttribute("Exists", GetType(ExistsType))> _
<XmlElementAttribute("IsEqualTo", GetType(IsEqualToType))> _
<XmlElementAttribute("IsGreaterThan", GetType(IsGreaterThanType))> _
<XmlElementAttribute("IsGreaterThanOrEqualTo", GetType(IsGreaterThanOrEqualToType))> _
<XmlElementAttribute("IsLessThan", GetType(IsLessThanType))> _
<XmlElementAttribute("IsLessThanOrEqualTo", GetType(IsLessThanOrEqualToType))> _
Public Property Item As SearchExpressionType
[XmlElementAttribute("Not", typeof(NotType))] 
[XmlElementAttribute("IsNotEqualTo", typeof(IsNotEqualToType))] 
[XmlElementAttribute("Or", typeof(OrType))] 
[XmlElementAttribute("SearchExpression", typeof(SearchExpressionType))] 
[XmlElementAttribute("And", typeof(AndType))] 
[XmlElementAttribute("Contains", typeof(ContainsExpressionType))] 
[XmlElementAttribute("Excludes", typeof(ExcludesType))] 
[XmlElementAttribute("Exists", typeof(ExistsType))] 
[XmlElementAttribute("IsEqualTo", typeof(IsEqualToType))] 
[XmlElementAttribute("IsGreaterThan", typeof(IsGreaterThanType))] 
[XmlElementAttribute("IsGreaterThanOrEqualTo", typeof(IsGreaterThanOrEqualToType))] 
[XmlElementAttribute("IsLessThan", typeof(IsLessThanType))] 
[XmlElementAttribute("IsLessThanOrEqualTo", typeof(IsLessThanOrEqualToType))] 
public SearchExpressionType Item { get; set; }
[XmlElementAttribute(L"Not", typeof(NotType))] 
[XmlElementAttribute(L"IsNotEqualTo", typeof(IsNotEqualToType))] 
[XmlElementAttribute(L"Or", typeof(OrType))] 
[XmlElementAttribute(L"SearchExpression", typeof(SearchExpressionType))] 
[XmlElementAttribute(L"And", typeof(AndType))] 
[XmlElementAttribute(L"Contains", typeof(ContainsExpressionType))] 
[XmlElementAttribute(L"Excludes", typeof(ExcludesType))] 
[XmlElementAttribute(L"Exists", typeof(ExistsType))] 
[XmlElementAttribute(L"IsEqualTo", typeof(IsEqualToType))] 
[XmlElementAttribute(L"IsGreaterThan", typeof(IsGreaterThanType))] 
[XmlElementAttribute(L"IsGreaterThanOrEqualTo", typeof(IsGreaterThanOrEqualToType))] 
[XmlElementAttribute(L"IsLessThan", typeof(IsLessThanType))] 
[XmlElementAttribute(L"IsLessThanOrEqualTo", typeof(IsLessThanOrEqualToType))] 
public:
property SearchExpressionType^ Item {
    SearchExpressionType^ get ();
    void set (SearchExpressionType^ value);
}
/** @property */
public SearchExpressionType get_Item ()

/** @property */
public void set_Item (SearchExpressionType value)
public function get Item () : SearchExpressionType

public function set Item (value : SearchExpressionType)

Property Value

The Item property returns a search expression object that is derived from the SearchExpressionType base class.

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)