Share via


FindItemType.Item Property

The Item property gets or sets the paging type that describes how the query result set is paged in the response. This property gets or sets either an IndexedPageViewType, FractionalPageViewType, CalendarViewType, or ContactsViewType object. This property is optional. This is a read/write property.

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

Syntax

'Declaration
<XmlElementAttribute("ContactsView", GetType(ContactsViewType))> _
<XmlElementAttribute("FractionalPageItemView", GetType(FractionalPageViewType))> _
<XmlElementAttribute("IndexedPageItemView", GetType(IndexedPageViewType))> _
<XmlElementAttribute("CalendarView", GetType(CalendarViewType))> _
Public Property Item As BasePagingType
[XmlElementAttribute("ContactsView", typeof(ContactsViewType))] 
[XmlElementAttribute("FractionalPageItemView", typeof(FractionalPageViewType))] 
[XmlElementAttribute("IndexedPageItemView", typeof(IndexedPageViewType))] 
[XmlElementAttribute("CalendarView", typeof(CalendarViewType))] 
public BasePagingType Item { get; set; }
[XmlElementAttribute(L"ContactsView", typeof(ContactsViewType))] 
[XmlElementAttribute(L"FractionalPageItemView", typeof(FractionalPageViewType))] 
[XmlElementAttribute(L"IndexedPageItemView", typeof(IndexedPageViewType))] 
[XmlElementAttribute(L"CalendarView", typeof(CalendarViewType))] 
public:
property BasePagingType^ Item {
    BasePagingType^ get ();
    void set (BasePagingType^ value);
}
/** @property */
public BasePagingType get_Item ()

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

public function set Item (value : BasePagingType)

Property Value

The Item property returns a BasePagingType object that represents the type of paging to be performed for the query set.

Remarks

The Item property can be set with either an IndexedPageViewType, FractionalPageViewType, CalendarViewType, or ContactsViewType object. All these types extend BasePagingType, which is an abstract class. This property is optional. If this property is not set, the default behavior is to return a view that includes all the items in the result set.

Note

You cannot specify restrictions when you are performing CalendarView paging.

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)