ConfigurationLockCollection.Remove(String) メソッド

定義

構成オブジェクトをコレクションから削除します。

public:
 void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)

パラメーター

name
String

構成オブジェクトの名前。

例外

name がコレクション内の既存の構成オブジェクトに一致しない場合に発生します。

次のコード例は、Remove メソッドの使用方法を示します。 このコード例は、ConfigurationLockCollection クラスのために提供されている大規模な例の一部です。

// Remove a configuration object 
// from the collection.
lockedAttribList.Remove("cookieless");
' Remove a configuration object 
' from the collection.
lockedAttribList.Remove("cookieless")

適用対象