IList.RemoveAt を実装します。常に NotSupportedException をスローします。
Private Sub RemoveAt( _
ByVal index As Integer _) Implements IList.RemoveAt
[C#]
void IList.RemoveAt(
intindex);
[C++]
private: void IList::RemoveAt(intindex);
[JScript]
private function IList.RemoveAt(
index : int);
パラメータ
- index
削除する要素のインデックス。
実装
例外
例外の種類 | 条件 |
---|---|
NotSupportedException | 常にスローされます。 |
解説
Array は固定サイズであるため、要素を追加または削除できません。 SetValue を使用して、既存の要素の値を変更します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, Common Language Infrastructure (CLI) Standard