PowerTools PlusPak for Windows Forms 8.0J
Insert(Int32,String,String) メソッド

インデックス値。
キー値。
ボタンに表示するテキストの文字列。
ボタンに表示するテキスト項目を挿入します。
構文
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal key As String, _
   ByVal value As String _
) 
public void Insert( 
   int index,
   string key,
   string value
)

パラメータ

index
インデックス値。
key
キー値。
value
ボタンに表示するテキストの文字列。
例外
例外解説
System.ArgumentOutOfRangeExceptionindex は 0 〜 this.Count - 1 の範囲にある必要があります。
System.ArgumentNullExceptionkey は null または string.Empty にはできません。
System.ArgumentExceptionkey が電卓の正しいボタンキーではありません。すべてのボタンキーは GcCalculator.ButtonKeys プロパティから取得できます。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

ButtonTextCollection クラス
ButtonTextCollection メンバ
オーバーロード一覧

Send Feedback