다음을 통해 공유


DesignerVerbCollection.Remove(DesignerVerb) 메서드

정의

지정된 DesignerVerb를 컬렉션에서 제거합니다.

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)

매개 변수

value
DesignerVerb

컬렉션에서 제거할 DesignerVerb입니다.

예제

다음 코드 예제를 제거 하는 방법을 보여 줍니다는 DesignerVerb 에서 합니다 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)

적용 대상