次のサンプルコードは、コレクション内に別の項目があるかどうかを返します。
FarPoint.Win.Spread.DefaultStyleCollection dsc = new FarPoint.Win.Spread.DefaultStyleCollection();
MessageBox.Show(dsc.GetEnumerator().MoveNext().ToString());
Dim dsc As New FarPoint.Win.Spread.DefaultStyleCollection
MessageBox.Show(dsc.GetEnumerator.MoveNext().ToString())