TItem - the generic type. The type of item the collection contains.public final class ItemCollection<TItem extends Item> extends ComplexProperty implements Iterable<TItem>
| Constructor and Description |
|---|
ItemCollection()
Initializes a new instance of the "ItemCollection<TItem>" class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Gets the total number of item in the collection.
|
TItem |
getItem(int index)
Gets the item at the specified index.
|
Iterator<TItem> |
getIterator()
Gets an iterator that iterates through the elements of the collection.
|
Iterator<TItem> |
iterator()
Returns an iterator over a set of elements of type T.
|
void |
loadFromXml(EwsServiceXmlReader reader,
String localElementName)
Loads from XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXmlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ItemCollection()
public void loadFromXml(EwsServiceXmlReader reader, String localElementName) throws Exception
loadFromXml in class ComplexPropertyreader - The reader.localElementName - Name of the local element.Exception - the exceptionpublic int getCount()
public TItem getItem(int index)
index - The zero-based index of the item to get.public Iterator<TItem> getIterator()
Copyright © 2012–2015 Microsoft. All rights reserved.