RuleCollection.GetEnumerator method

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

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Function GetEnumerator As IEnumerator(Of Rule)
'Usage
Dim instance As RuleCollection
Dim returnValue As IEnumerator(Of Rule)

returnValue = instance.GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<Rule>
An enumerator that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()
Show: