共用方式為


CodeWindowManager Members

Include Protected Members
Include Inherited Members

Wraps an IVsCodeWindow object for use in a language service.

The CodeWindowManager type exposes the following members.

Constructors

  Name Description
Public method CodeWindowManager Initializes the CodeWindowManager class.

Top

Methods

  Name Description
Public method AddAdornments Called to add adornments or additional user interface (UI) elements to the text view.
Public method Close Close down the CodeWindowManager object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize The destructor for the CodeWindowManager class. (Overrides Object.Finalize().)
Public method GetFilter Returns the ViewFilter object associated with the specified text view.
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 OnKillFocus Called when the specified text view loses focus.
Public method OnNewView Called when a new text view is created.
Public method OnSetFocus Called when the specified text view receives the focus.
Public method RemoveAdornments Called to remove any adornments on a text view that is being closed.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Public property CodeWindow Returns the IVsCodeWindow this CodeWindowManager is managing.
Public property DropDownHelper Returns the drop-down helper class.
Public property LanguageService Returns the language service that owns this code window manager.
Public property Properties Allows retrieving and updating the document properties.
Public property Source Returns the Source object associated with the view managed by this code window manager class.

Top

See Also

Reference

CodeWindowManager Class

Microsoft.VisualStudio.Package Namespace