ConfigurationLockCollection.Remove(String) Método
Definição
Remove um objeto de configuração da coleção.Removes a configuration object from the collection.
public:
void Remove(System::String ^ name);
public void Remove (string name);
member this.Remove : string -> unit
Public Sub Remove (name As String)
Parâmetros
- name
- String
O nome do objeto de configuração.The name of the configuration object.
Exceções
Ocorre quando o name não corresponde a um objeto de configuração existente dentro da coleção.Occurs when the name does not match an existing configuration object within the collection.
Exemplos
O exemplo de código a seguir demonstra como usar o Remove método.The following code example demonstrates how to use the Remove method. Este exemplo de código faz parte de um exemplo maior fornecido para a ConfigurationLockCollection classe.This code example is part of a larger example provided for the ConfigurationLockCollection class.
// Remove a configuration object
// from the collection.
lockedAttribList.Remove("cookieless");
' Remove a configuration object
' from the collection.
lockedAttribList.Remove("cookieless")