Share via


CategoryCollection.GetEnumerator method

Returns an enumerator that iterates through the categories in the collection.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of Category)
'Usage
Dim instance As CategoryCollection
Dim returnValue As IEnumerator(Of Category)

returnValue = instance.GetEnumerator()
public IEnumerator<Category> GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<Category>
An IEnumerator object that can be used to iterate through the categories in the collection.

See also

Reference

CategoryCollection class

CategoryCollection members

Microsoft.Office.Server.Search.Administration namespace