RuleCollection RuleCollection RuleCollection Class


Represents a collection of rules.

public ref class RuleCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::Rule ^>
public sealed class RuleCollection : Microsoft.Exchange.WebServices.Data.ComplexProperty, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.Rule>
Public NotInheritable Class RuleCollection
Inherits ComplexProperty
Implements IEnumerable(Of Rule)


Count Count Count

Gets the number of rules in the rule collection.

Item[Int32] Item[Int32] Item[Int32]

Gets the rule at the specified index in the collection.

OutlookRuleBlobExists OutlookRuleBlobExists OutlookRuleBlobExists

Gets a value that indicates whether a Microsoft Outlook rule blob exists in the user's mailbox.


GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that enables you to iterate through the objects in the collection.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets an enumerator to iterate through the elements of the collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to