Spread WPF 17
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.


In This Topic
    GetEnumerator Method (SheetSpanModelBase)
    In This Topic
    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 Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) As IEnumerator
    'Usage
     
    Dim instance As SheetSpanModelBase
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
    Dim value As IEnumerator
     
    value = instance.GetEnumerator(row, column, rowCount, columnCount)
    public abstract IEnumerator GetEnumerator( 
       int row,
       int column,
       int rowCount,
       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