ActivityCollection.IList<Activity>.RemoveAt(Int32) メソッド

定義

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

 virtual void System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt(int index) = System::Collections::Generic::IList<System::Workflow::ComponentModel::Activity ^>::RemoveAt;
void IList<Activity>.RemoveAt(int index);
abstract member System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt : int -> unit
override this.System.Collections.Generic.IList<System.Workflow.ComponentModel.Activity>.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList(Of Activity).RemoveAt

パラメーター

index
Int32

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

実装

例外

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

ICollectionは読み取り専用です。

注釈

リストなどの連続する要素のコレクションでは、削除された要素の後に続く要素が上に移動し、空いた場所を占有します。 コレクションにインデックスが付いている場合、移動される要素のインデックスも更新されます。 この動作は、要素が概念的にバケット (ハッシュ テーブルなど) にグループ化されるコレクションには適用されません。

適用対象