public final class AttendeeCollection extends ComplexPropertyCollection<Attendee>
Constructor and Description |
---|
AttendeeCollection()
Initializes a new instance of the AttendeeCollection class.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Attendee attendee)
Adds an attendee to the collection.
|
Attendee |
add(String smtpAddress)
Adds an attendee to the collection.
|
Attendee |
add(String name,
String smtpAddress)
Adds an attendee to the collection.
|
void |
clear()
Clears the collection.
|
protected Attendee |
createComplexProperty(String xmlElementName)
Creates an Attendee object from an XML element name.
|
protected String |
getCollectionItemXmlElementName(Attendee attendee)
Retrieves the XML element name corresponding to the provided Attendee
object.
|
boolean |
remove(Attendee attendee)
Removes an attendee from the collection.
|
void |
removeAt(int index)
Removes an attendee from the collection.
|
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, validate, writeAttributesToXml, writeToXml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public AttendeeCollection()
public void add(Attendee attendee)
attendee
- the attendeepublic Attendee add(String smtpAddress) throws Exception
smtpAddress
- the smtp addressException
- the exceptionpublic Attendee add(String name, String smtpAddress)
name
- the namesmtpAddress
- the smtp addresspublic void clear()
public void removeAt(int index)
index
- the indexpublic boolean remove(Attendee attendee) throws Exception
attendee
- the attendeeException
- the exceptionprotected Attendee createComplexProperty(String xmlElementName)
createComplexProperty
in class ComplexPropertyCollection<Attendee>
xmlElementName
- the xml element nameprotected String getCollectionItemXmlElementName(Attendee attendee)
getCollectionItemXmlElementName
in class ComplexPropertyCollection<Attendee>
attendee
- the attendeeCopyright © 2012–2015 Microsoft. All rights reserved.