Compartilhar via


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

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

Syntax

'Declaration
<GuidAttribute("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")> _
<ClassInterfaceAttribute()> _
Public Class WindowEventsClass _
    Implements _WindowEvents, WindowEvents, _dispWindowEvents_Event
[GuidAttribute("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")]
[ClassInterfaceAttribute()]
public class WindowEventsClass : _WindowEvents, 
    WindowEvents, _dispWindowEvents_Event
[GuidAttribute(L"2E260FD4-C130-4E6D-8EBC-4A3BFD188181")]
[ClassInterfaceAttribute()]
public ref class WindowEventsClass : _WindowEvents, 
    WindowEvents, _dispWindowEvents_Event
[<GuidAttribute("2E260FD4-C130-4E6D-8EBC-4A3BFD188181")>]
[<ClassInterfaceAttribute()>]
type WindowEventsClass =  
    class 
        interface _WindowEvents 
        interface WindowEvents 
        interface _dispWindowEvents_Event 
    end
public class WindowEventsClass implements _WindowEvents, WindowEvents, _dispWindowEvents_Event

The WindowEventsClass type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method add_WindowActivated Infrastructure. Microsoft Internal Use Only.
Public method add_WindowClosing Infrastructure. Microsoft Internal Use Only.
Public method add_WindowCreated Infrastructure. Microsoft Internal Use Only.
Public method add_WindowMoved 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_WindowActivated Infrastructure. Microsoft Internal Use Only.
Public method remove_WindowClosing Infrastructure. Microsoft Internal Use Only.
Public method remove_WindowCreated Infrastructure. Microsoft Internal Use Only.
Public method remove_WindowMoved 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 WindowActivated Occurs when a window receives the focus.
Public event WindowClosing Occurs just before a window closes.
Public event WindowCreated Occurs when a new window is created.
Public event WindowMoved Occurs after a window is moved or resized.

Top

Remarks

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