Spread WPF 17
GrapeCity.CalcEngine Namespace / CalcConvert Class / ToEnumerator Method
The value.
if set to true excluding subtotals.


In This Topic
    ToEnumerator Method
    In This Topic
    Get an enumerator to iterate items in value.
    Syntax
    'Declaration
     
    Public Shared Function ToEnumerator( _
       ByVal value As Object, _
       Optional ByVal excludingSubtotals As Boolean _
    ) As IEnumerator
    'Usage
     
    Dim value As Object
    Dim excludingSubtotals As Boolean
    Dim value As IEnumerator
     
    value = CalcConvert.ToEnumerator(value, excludingSubtotals)
    public static IEnumerator ToEnumerator( 
       object value,
       bool excludingSubtotals
    )

    Parameters

    value
    The value.
    excludingSubtotals
    if set to true excluding subtotals.

    Return Value

    An System.Collections.IEnumerator indicate the iterator.
    Remarks
    If value is CalcArray, it would iterate from each columns to rows. If value is CalcReference, it would iterate all sub-area from each columns to rows. Any others, iterate the value as an enumerator.
    See Also