Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / SheetSpanModel Class / GetEnumerator Method / GetEnumerator(Int32,Int32,Int32,Int32) 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(Int32,Int32,Int32,Int32) Method
    In This Topic
    Gets an enumerator for iterating to the next cell span in the collection after the specified span.
    Syntax
    'Declaration
     
    Public Overloads Overrides NotOverridable Function GetEnumerator( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) As IEnumerator
    'Usage
     
    Dim instance As SheetSpanModel
    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 override 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