public final class RuleCollection extends ComplexProperty implements Iterable<Rule>
Constructor and Description |
---|
RuleCollection()
Initializes a new instance of the RuleCollection class.
|
Modifier and Type | Method and Description |
---|---|
int |
getCount()
Gets the number of rules in this collection.
|
boolean |
getOutlookRuleBlobExists()
Gets a value indicating whether an Outlook rule blob exists in the user's
mailbox.
|
Rule |
getRule(int index)
Gets the rule at the specified index in the collection.
|
Iterator<Rule> |
iterator()
Get an enumerator for the collection
|
void |
setOutlookRuleBlobExists(boolean value) |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public RuleCollection()
public boolean getOutlookRuleBlobExists()
public void setOutlookRuleBlobExists(boolean value)
public int getCount()
public Rule getRule(int index) throws ArgumentOutOfRangeException
index
- The index of the rule to get.ArgumentOutOfRangeException
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The reader.Exception
Copyright © 2012–2015 Microsoft. All rights reserved.