Share via


CommandBarButtonClass.add_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.add_Click()

Syntax

Public Overridable Sub add_Click( _
    ByVal  As _CommandBarButtonEvents_ClickEventHandler _
)
public virtual void add_Click(
    _CommandBarButtonEvents_ClickEventHandler 
);
public: Void add_Click(
    _CommandBarButtonEvents_ClickEventHandler^ 
);
public void add_Click(
    _CommandBarButtonEvents_ClickEventHandler 
);
public function add_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