DesignerVerbCollection::Remove Method (DesignerVerb^)

 

Removes the specified DesignerVerb from the collection.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

public:
void Remove(
	DesignerVerb^ value
)

Parameters

value
Type: System.ComponentModel.Design::DesignerVerb^

The DesignerVerb to remove from the collection.

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 );

.NET Framework
Available since 1.1
Return to top
Show: