Compartir a través de


DesignerVerbCollection.Remove(DesignerVerb) Método

Definición

Quita el objeto DesignerVerb especificado de la colección.

public:
 void Remove(System::ComponentModel::Design::DesignerVerb ^ value);
public void Remove (System.ComponentModel.Design.DesignerVerb value);
public void Remove (System.ComponentModel.Design.DesignerVerb? value);
member this.Remove : System.ComponentModel.Design.DesignerVerb -> unit
Public Sub Remove (value As DesignerVerb)

Parámetros

value
DesignerVerb

DesignerVerb que se va a quitar de la colección.

Ejemplos

En el ejemplo de código siguiente se muestra cómo quitar un DesignerVerb de un DesignerVerbCollection.

// Removes the specified DesignerVerb from the collection.
DesignerVerb^ verb = gcnew DesignerVerb( "Example designer verb", gcnew EventHandler( this, &Class1::ExampleEvent ) );
collection->Remove( verb );
// Removes the specified DesignerVerb from the collection.
DesignerVerb verb = new DesignerVerb("Example designer verb", new EventHandler(this.ExampleEvent));
collection.Remove( verb );
' Removes the specified DesignerVerb from the collection.
Dim verb As New DesignerVerb("Example designer verb", New EventHandler(AddressOf Me.ExampleEvent))
collection.Remove(verb)

Se aplica a