DesignerVerbCollection.Remove(DesignerVerb) Method

Definition

Rimuove l'elemento DesignerVerb specificato dalla raccolta.Removes the specified DesignerVerb from the collection.

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)

Parameters

value
DesignerVerb

Oggetto DesignerVerb da rimuovere dalla raccolta.The DesignerVerb to remove from the collection.

Examples

Nell'esempio di codice riportato di seguito viene illustrato come rimuovere un DesignerVerb da un DesignerVerbCollection.The following code example demonstrates how to remove a DesignerVerb from a 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)

Applies to