Share via


AudienceCollection.AudienceEnumerator.Reset Method

Sets the enumerator to its initial position, which is before the first element in the collection.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub Reset
'Usage
Dim instance As AudienceCollection.AudienceEnumerator

instance.Reset()
public void Reset()

Implements

IEnumerator.Reset()

Remarks

The enumerator remains valid as long as this collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated, and the next call to MoveNext or Reset throws an exception.

See Also

Reference

AudienceCollection.AudienceEnumerator Class

AudienceCollection.AudienceEnumerator Members

Microsoft.Office.Server.Audience Namespace