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

キーが挿入されるインデックス。
キー値。
ボタンの名前を示します。
キーを挿入します。
構文
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal key As Keys, _
   ByVal buttonKey As String _
) 
public void Insert( 
   int index,
   Keys key,
   string buttonKey
)

パラメータ

index
キーが挿入されるインデックス。
key
キー値。
buttonKey
ボタンの名前を示します。
例外
例外解説
System.ArgumentNullExceptionbuttonKey は null または string.Empty にはできません。
System.ArgumentExceptionbuttonKey は正しいボタンのキーではありません。GcCalculator.ButtonKeys プロパティからすべてのボタンキーを取得することができます。
System.ArgumentException同じ key がすでに追加されています。値を変更してください。
プラットフォーム

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

参照

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

Send Feedback