IOrderedDictionary.RemoveAt メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IOrderedDictionary.RemoveAt メソッドの意味・解説 

IOrderedDictionary.RemoveAt メソッド

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

指定したインデックス位置にある要素を削除します。

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

Sub RemoveAt ( _
    index As Integer _
)
Dim instance As IOrderedDictionary
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 が 0 未満です。

または

index が Count 以上です。

NotSupportedException

IOrderedDictionary コレクションが読み取り専用です。

または

IOrderedDictionary コレクションが固定サイズです。

解説解説
使用例使用例

ArrayList クラスに基づいた単純な IOrderedDictionary の実装を次のコード例に示します。実装される IOrderedDictionary は名をキーとして格納し、姓を値として格納します。それぞれの名は一意である必要があります。このコードは、IOrderedDictionary クラスのトピックで取り上げているコード例の一部分です。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IOrderedDictionary インターフェイス
IOrderedDictionary メンバ
System.Collections.Specialized 名前空間



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

IOrderedDictionary.RemoveAt メソッドのお隣キーワード
検索ランキング

   

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



IOrderedDictionary.RemoveAt メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS