PowerTools SPREAD for Windows Forms 8.0J
GetEnumerator メソッド (DefaultStyleCollection)


コレクション内のNamedStyleオブジェクトを列挙する IEnumeratorオブジェクトを取得します。
構文
public IEnumerator GetEnumerator()
'Declaration
 
Public Function GetEnumerator() As IEnumerator
 
'使用法
 
Dim instance As DefaultStyleCollection
Dim value As IEnumerator
 
value = instance.GetEnumerator()

戻り値の型

コレクション内のスタイル(NamedStyle オブジェクト)を列挙する IEnumerator インスタンス

次のサンプルコードは、コレクション内に別の項目があるかどうかを返します。

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())
参照

DefaultStyleCollection クラス
DefaultStyleCollection メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.