IList.RemoveAtとは? わかりやすく解説

IList.RemoveAt メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

指定したインデックス位置の IList 項目を削除します。

名前空間: System.Collections.Generic
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Sub RemoveAt ( _
    index As Integer _
)
Dim instance As IList(Of
 T)
Dim index As Integer

instance.RemoveAt(index)
void RemoveAt (
    int index
)
void RemoveAt (
    int index
)
void RemoveAt (
    int index
)
function RemoveAt (
    index : int
)

パラメータ

index

削除する項目の 0 から始まるインデックス。

例外例外
例外の種類条件

ArgumentOutOfRangeException

index が IList の有効なインデックスではありません。

NotSupportedException

IList は読み取り専用です。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IList ジェネリック インターフェイス
IList メンバ
System.Collections.Generic 名前空間
ICollection.IsReadOnly プロパティ

IList.RemoveAt メソッド

指定したインデックスにある IList 項目を削除します。

名前空間: System.Collections
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Sub RemoveAt ( _
    index As Integer _
)
Dim instance As IList
Dim index As Integer

instance.RemoveAt(index)
void RemoveAt (
    int index
)
void RemoveAt (
    int index
)
void RemoveAt (
    int index
)
function RemoveAt (
    index : int
)

パラメータ

index

削除する項目の 0 から始まるインデックス。

例外例外
例外の種類条件

ArgumentOutOfRangeException

index が IList の有効なインデックスではありません。

NotSupportedException

IList は読み取り専用です。

または

IList が固定サイズです。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「IList.RemoveAt」の関連用語

IList.RemoveAtのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IList.RemoveAtのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS