AxisCollection.Enumerator.Reset Method ()

 

Updated: March 10, 2016

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

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public void Reset()

Exception Condition
System.InvalidOperationException

The collection has changed, invalidating the enumerator.

An enumerator remains valid as long as the 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 a System.InvalidOperationException.

Return to top
Show: