ConfigurationElementCollection.BaseRemoveAt(Int32) メソッド

定義

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

protected public:
 void BaseRemoveAt(int index);
protected:
 void BaseRemoveAt(int index);
protected internal void BaseRemoveAt(int index);
protected void BaseRemoveAt(int index);
member this.BaseRemoveAt : int -> unit
Protected Friend Sub BaseRemoveAt (index As Integer)
Protected Sub BaseRemoveAt (index As Integer)

パラメーター

index
Int32

削除する ConfigurationElement のインデックス位置。

例外

構成は読み取り専用です。

-又は-

index0 未満であるか、コレクション内の ConfigurationElement オブジェクトの数を超えています。

-又は-

ConfigurationElement オブジェクトは既に削除されています。

-又は-

ConfigurationElement オブジェクトの値は、より高いレベルでロックされています。

-又は-

ConfigurationElement オブジェクトが継承されました。

-又は-

ConfigurationElement オブジェクトのTypeの値がAddRemoveClearMapまたはAddRemoveClearMapAlternateされていません。

注釈

BaseRemoveAt メソッドは、指定したインデックス位置にある要素の構成ファイルに<remove> ディレクティブを挿入します。

適用対象