LevelPropertyCollection.Enumerator.MoveNext Method ()

 

Updated: March 10, 2016

Moves to the next LevelProperty in the LevelPropertyCollection.

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

public bool MoveNext()

Return Value

Type: System.Boolean

true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

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: