public final class NameResolutionCollection extends Object implements Iterable<NameResolution>
Constructor and Description |
---|
NameResolutionCollection(ExchangeService service)
Represents a list of suggested name resolutions.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the total number of elements in the list.
|
boolean |
getIncludesAllResolutions()
Gets a value indicating whether more suggested resolutions are available.
|
protected ExchangeService |
getSession()
Gets the session.
|
Iterator<NameResolution> |
iterator() |
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML.
|
NameResolution |
nameResolutionCollection(int index)
Gets the name resolution at the specified index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public NameResolutionCollection(ExchangeService service)
service
- the servicepublic void loadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionprotected ExchangeService getSession()
public int getCount()
public boolean getIncludesAllResolutions()
public NameResolution nameResolutionCollection(int index) throws ArgumentOutOfRangeException
index
- the indexArgumentOutOfRangeException
- the argument out of range exceptionpublic Iterator<NameResolution> iterator()
iterator
in interface Iterable<NameResolution>
Copyright © 2012–2015 Microsoft. All rights reserved.