C# Class SobekCM_Resource_Database.Builder.Builder_Page_File_Collection.Builder_Page_File_Enumerator

Inner class implements the IEnumerator interface and iterates through the Builder_Page_File_Collection object composed of Builder_Page_File objects for this volume.

Inclusion of this strongly-typed iterator allows the use of the foreach .. in structure to iterate through all of the Builder_Page_File objects in the Builder_Page_File_Collection object. The example in the Builder_Page_File_Collection demonstrates this use.
Inheritance: IEnumerator
Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application

Private Properties

Property Type Description
Builder_Page_File_Enumerator System

Public Methods

Method Description
MoveNext ( ) : bool

Move to the next Builder_Page_File in this Builder_Page_File_Collection.

Method is required by the IEnumerator interface.

Reset ( ) : void

Reset to the position just before the first position. Ready for the MoveNext() method to be called.

Method is required by the IEnumerator interface.

Private Methods

Method Description
Builder_Page_File_Enumerator ( Builder_Page_File_Collection NodeCollection ) : System

Constructore creates a new Page_File_Enumerator to iterate through the Builder_Page_File_Collection.

Method Details

MoveNext() public method

Move to the next Builder_Page_File in this Builder_Page_File_Collection.
Method is required by the IEnumerator interface.
public MoveNext ( ) : bool
return bool

Reset() public method

Reset to the position just before the first position. Ready for the MoveNext() method to be called.
Method is required by the IEnumerator interface.
public Reset ( ) : void
return void