Share via


CommandBarButtonClass.remove_Click Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Sub Sub1(Ctrl As CommandBarButton, _
    CancelDefault As Boolean)
End Sub
Dim  As New _CommandBarButtonEvents_ClickEventHandler(AddressOf Sub1)
Dim commandBarButtonClass1 As CommandBarButtonClass
commandBarButtonClass1.remove_Click()

Syntax

Public Overridable Sub remove_Click( _
    ByVal  As _CommandBarButtonEvents_ClickEventHandler _
)
public virtual void remove_Click(
    _CommandBarButtonEvents_ClickEventHandler 
);
public: Void remove_Click(
    _CommandBarButtonEvents_ClickEventHandler^ 
);
public void remove_Click(
    _CommandBarButtonEvents_ClickEventHandler 
);
public function remove_Click(
      : _CommandBarButtonEvents_ClickEventHandler
);

Parameters

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

CommandBarButtonClass Class
Microsoft.Office.Core Namespace

Other Resources

CommandBarButtonClass Members