Share via


ConsoleNodeCollection.GetEnumerator method

Returns an enumerator object to traverse the collection.

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

Syntax

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

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

Return value

Type: System.Collections.IEnumerator
An IEnumerator object.

Implements

IEnumerable.GetEnumerator()

See also

Reference

ConsoleNodeCollection class

ConsoleNodeCollection members

Microsoft.SharePoint.Publishing.WebControls namespace