PortalHierarchicalEnumerable.IEnumerable.GetEnumerator Method

Returns an enumerator that can be used to iterate the PortalHierarchicalEnumerable object.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function GetEnumerator As IEnumerator
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As PortalHierarchicalEnumerable
Dim returnValue As IEnumerator

returnValue = CType(instance, IEnumerable).GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
IEnumeratorIEnumerable.GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

See Also

Reference

PortalHierarchicalEnumerable Class

PortalHierarchicalEnumerable Members

Microsoft.SharePoint.Publishing.Navigation Namespace