Share via


CommandBarEventsClass Class

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

Microsoft Internal Use Only.

Inheritance Hierarchy

System.Object
  EnvDTE.CommandBarEventsClass

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")> _
Public Class CommandBarEventsClass _
    Implements _CommandBarControlEvents, CommandBarEvents, _dispCommandBarControlEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")]
public class CommandBarEventsClass : _CommandBarControlEvents, 
    CommandBarEvents, _dispCommandBarControlEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute(L"BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")]
public ref class CommandBarEventsClass : _CommandBarControlEvents, 
    CommandBarEvents, _dispCommandBarControlEvents_Event
[<ClassInterfaceAttribute()>]
[<GuidAttribute("BFD4B2B2-9EEC-4DB8-ABA0-AC316F4C7328")>]
type CommandBarEventsClass =  
    class
        interface _CommandBarControlEvents
        interface CommandBarEvents
        interface _dispCommandBarControlEvents_Event
    end
public class CommandBarEventsClass implements _CommandBarControlEvents, CommandBarEvents, _dispCommandBarControlEvents_Event

The CommandBarEventsClass type exposes the following members.

Constructors

  Name Description
Public method CommandBarEventsClass Infrastructure. Microsoft Internal Use Only.

Top

Methods

  Name Description
Public method add_Click Infrastructure. Microsoft Internal Use Only.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method remove_Click Infrastructure. Microsoft Internal Use Only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event Click Occurs when the OnAction property for the corresponding CommandBarControl object is set or returned.

Top

Remarks

Refer to CommandBarEvents for this functionality. Do not instantiate from this class.

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.

See Also

Reference

EnvDTE Namespace