CategoryCollection.IEnumerable.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
Private Function GetEnumerator As IEnumerator
Implements IEnumerable.GetEnumerator
'Usage
Dim instance As CategoryCollection
Dim returnValue As IEnumerator
returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumeratorIEnumerable.GetEnumerator()
Return value
Type: System.Collections.IEnumerator
An IEnumerator object that can be used to iterate through the categories in the collection.
Implements
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | If the user does not have the required privileges. |