_CommandBarButton Interface
Represents a button control on a command bar.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Usage
Public Class commandBarButtonImplementation
Implements _CommandBarButton
End Class
Dim commandBarButtonImplementation1 As New commandBarButtonImplementation()
Syntax
Public Interface _CommandBarButton
Inherits CommandBarControl
public interface _CommandBarButton : CommandBarControl
public interface class _CommandBarButton : public CommandBarControl
public interface _CommandBarButton implements CommandBarControl
public interface _CommandBarButton implements CommandBarControl
Remarks
Use Controls(index), where index is the index number of the control, to return a CommandBarButton object. (The Type property of the control must be msoControlButton.)
You can also use the FindControl method to return a CommandBarButton object.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Core Namespace