Spread WPF Documentation
GetEnumerator Method (SheetSpanModelBase)


GrapeCity.Windows.SpreadSheet.Data Namespace > SheetSpanModelBase Class : GetEnumerator Method
The row index.
The column index.
The number of rows in the cell span.
The number of columns in the cell span.
Gets an enumerator for iterating to the next cell span in the collection after the specified span.
Syntax
'Declaration
 
Public MustOverride Function GetEnumerator( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal columnCount As System.Integer _
) As System.Collections.IEnumerator
'Usage
 
Dim instance As SheetSpanModelBase
Dim row As System.Integer
Dim column As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
Dim value As System.Collections.IEnumerator
 
value = instance.GetEnumerator(row, column, rowCount, columnCount)
public abstract System.Collections.IEnumerator GetEnumerator( 
   System.int row,
   System.int column,
   System.int rowCount,
   System.int columnCount
)

Parameters

row
The row index.
column
The column index.
rowCount
The number of rows in the cell span.
columnCount
The number of columns in the cell span.

Return Value

Returns an enumerator to enumerate the span information for this model.
See Also

Reference

SheetSpanModelBase Class
SheetSpanModelBase Members