Edit

Share via


ItemCollection<TItem> Class

Definition

Represents a collection of items.

generic <typename TItem>
 where TItem : Itempublic ref class ItemCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty, System::Collections::Generic::IEnumerable<TItem>
public sealed class ItemCollection<TItem> : Microsoft.Exchange.WebServices.Data.ComplexProperty, System.Collections.Generic.IEnumerable<TItem> where TItem : Item
Public NotInheritable Class ItemCollection(Of TItem)
Inherits ComplexProperty
Implements IEnumerable(Of TItem)

Type Parameters

TItem

The type of item the collection contains.

Inheritance
ItemCollection<TItem>
Implements
IEnumerable<TItem>

Properties

Count

Gets the total number of items in the collection.

Item[Int32]

Gets the item at the specified index.

Methods

GetEnumerator()

Gets an enumerator that iterates through the elements of the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that iterates through the elements of the collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to