GrapeCity SPREAD for Windows Forms 11.0J
RemoveAt メソッド (Elements)


要素のインデックス
インデックスで指定した要素をコレクションから削除します。
構文
'Declaration
 
Public Overridable Sub RemoveAt( _
   ByVal index As Integer _
) 
'使用法
 
Dim instance As Elements
Dim index As Integer
 
instance.RemoveAt(index)
public virtual void RemoveAt( 
   int index
)

パラメータ

index
要素のインデックス
次のサンプルコードは、ステータスバーメニューオプションから合計オプションを削除します。
fpSpread1.StatusBarVisible = true;
fpSpread1.StatusBar.Elements.RemoveAt(0);
FpSpread1.StatusBarVisible = True
FpSpread1.StatusBar.Elements.RemoveAt(0)
参照

Elements クラス
Elements メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.