Compartilhar via


CommandEventsClass 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.CommandEventsClass

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

Syntax

'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("1DED92B5-9A46-4B29-93EF-B5E07016659E")> _
Public Class CommandEventsClass _
    Implements _CommandEvents, CommandEvents, _dispCommandEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute("1DED92B5-9A46-4B29-93EF-B5E07016659E")]
public class CommandEventsClass : _CommandEvents, 
    CommandEvents, _dispCommandEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute(L"1DED92B5-9A46-4B29-93EF-B5E07016659E")]
public ref class CommandEventsClass : _CommandEvents, 
    CommandEvents, _dispCommandEvents_Event
[<ClassInterfaceAttribute()>]
[<GuidAttribute("1DED92B5-9A46-4B29-93EF-B5E07016659E")>]
type CommandEventsClass =  
    class 
        interface _CommandEvents 
        interface CommandEvents 
        interface _dispCommandEvents_Event 
    end
public class CommandEventsClass implements _CommandEvents, CommandEvents, _dispCommandEvents_Event

The CommandEventsClass type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method add_AfterExecute Infrastructure. Microsoft Internal Use Only.
Public method add_BeforeExecute 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 the default hash function. (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_AfterExecute Infrastructure. Microsoft Internal Use Only.
Public method remove_BeforeExecute 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 AfterExecute Occurs after a command executes.
Public event BeforeExecute Occurs before a command executes.

Top

Remarks

Refer to CommandEvents 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