Spread Silverlight Documentation
ToEnumerator Method


GrapeCity.CalcEngine Namespace > CalcConvert Class : ToEnumerator Method
The value.
if set to true excluding subtotals.
Get an enumerator to iterate items in value.
Syntax
'Declaration
 
Public Shared Function ToEnumerator( _
   ByVal value As System.Object, _
   Optional ByVal excludingSubtotals As System.Boolean _
) As System.Collections.IEnumerator
'Usage
 
Dim value As System.Object
Dim excludingSubtotals As System.Boolean
Dim value As System.Collections.IEnumerator
 
value = CalcConvert.ToEnumerator(value, excludingSubtotals)
public static System.Collections.IEnumerator ToEnumerator( 
   System.object value,
   System.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

Reference

CalcConvert Class
CalcConvert Members