EcmDocumentRouterRuleCollection.GetEnumerator Method

Gets an enumeration of EcmDocumentRouterRule object from the EcmDocumentRouterRuleCollection object.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of EcmDocumentRouterRule)
'Usage
Dim instance As EcmDocumentRouterRuleCollection
Dim returnValue As IEnumerator(Of EcmDocumentRouterRule)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<EcmDocumentRouterRule> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<EcmDocumentRouterRule>
Returns IEnumerator<T>.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

EcmDocumentRouterRuleCollection Class

EcmDocumentRouterRuleCollection Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace