AcceptedDomainCollection.GetEnumerator Method

When overridden in a derived class, the GetEnumerator method returns an enumerator object that represents the collection.

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

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of AcceptedDomain)
'Usage
Dim instance As AcceptedDomainCollection
Dim returnValue As IEnumerator(Of AcceptedDomain)

returnValue = instance.GetEnumerator()
public abstract IEnumerator<AcceptedDomain> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<AcceptedDomain>
The GetEnumerator method returns an enumerator object that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()