MESCIUS SPREAD for Windows Forms 15.0J
GetEnumerator メソッド (DefaultStyleCollection)
使用例 

コレクション内のNamedStyleオブジェクトを列挙する IEnumeratorオブジェクトを取得します。
構文
public IEnumerator GetEnumerator()
'宣言
 
Public Function GetEnumerator() As IEnumerator
 

戻り値の型

コレクション内のスタイル(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 メンバ

 

 


© MESCIUS inc. All rights reserved.