Class RuleCollection
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a collection of rules.
public sealed class RuleCollection : ComplexProperty, IEnumerable<Rule>, IEnumerable
- Inheritance
-
RuleCollection
- Implements
- Inherited Members
Properties
Count
Gets the number of rules in this collection.
public int Count { get; }
Property Value
this[int]
Gets the rule at the specified index in the collection.
public Rule this[int index] { get; }
Parameters
index
intThe index of the rule to get.
Property Value
- Rule
The rule at the specified index.
OutlookRuleBlobExists
Gets a value indicating whether an Outlook rule blob exists in the user's mailbox. To update rules with EWS when the Outlook rule blob exists, call SetInboxRules passing true as the value of the removeOutlookBlob parameter.
public bool OutlookRuleBlobExists { get; }
Property Value
Methods
GetEnumerator()
Get an enumerator for the collection
public IEnumerator<Rule> GetEnumerator()
Returns
- IEnumerator<Rule>
Enumerator