PowerTools PlusPak for Windows Forms 8.0J
Insert メソッド (CommandIconCollection)

値を挿入する、0から始まるインデックス。
CommandIconCollectionに挿入するCommandIcon。
CommandIconCollectionの指定したインデックスに項目を挿入します。
構文
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal icon As CommandIcon _
) 
public void Insert( 
   int index,
   CommandIcon icon
)

パラメータ

index
値を挿入する、0から始まるインデックス。
icon
CommandIconCollectionに挿入するCommandIcon。
例外
例外解説
System.ArgumentOutOfRangeExceptionindexは0〜this.Count - 1の範囲にある必要があります。
System.ArgumentException同じiconがCommandIconCollectionにすでに含まれています。
プラットフォーム

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

参照

CommandIconCollection クラス
CommandIconCollection メンバ

Send Feedback