FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetSpanModel Class > GetEnumerator Method : GetEnumerator() Method |
'Declaration Public Overloads Overridable Function GetEnumerator() As IEnumerator
'Usage Dim instance As DefaultSheetSpanModel Dim value As IEnumerator value = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()
FarPoint.Win.Spread.Model.DefaultSheetSpanModel defspanModel = new FarPoint.Win.Spread.Model.DefaultSheetSpanModel(); System.Collections.IEnumerator se; fpSpread1.ActiveSheet.Models.Span = defspanModel; defspanModel.Add(0, 0, 2, 2); defspanModel.Add(4, 0, 2, 2); se = defspanModel.GetEnumerator(); listBox1.Items.AddRange(new Object[] {se.MoveNext().ToString(), se.Current.ToString()});
Dim defspanModel As New FarPoint.Win.Spread.Model.DefaultSheetSpanModel() Dim se As System.Collections.IEnumerator FpSpread1.ActiveSheet.Models.Span = defspanModel defspanModel.Add(0, 0, 2, 2) defspanModel.Add(4, 0, 2, 2) se = defspanModel.GetEnumerator ListBox1.Items.AddRange(New Object() {se.MoveNext().ToString(), se.Current().ToString()})
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8