Project

 < Free Open Study > 



DTE

The Development Tools Environment (DTE) is the root object of the .NET automation object. It has numerous objects that are related directly to it. Those objects are listed in this section.

AddIn (Object)

The AddIn object represents an add-in registered in the Add-in Manager dialog box. The AddIn object provides information to other add-ins. It is also used to pass to the Microsoft Office CommandBar object model methods to identify the add-in requesting to create CommandBar objects.

AddIns (Collection)

The AddIns collection contains all of the add-ins listed in the Add-in Manager dialog box.

BuildEvents (Object)

The BuildEvents object fires events before and after the build starts and completes.

CommandBarEvents (Object)

This object causes a Click event to occur when a control on the command bar is clicked.

DebuggerEvents (Object)

The DebuggerEvents object defines events supported by the debugger.

DocumentEvents (Object)

This object provides document events when documents close and open.

DTE (Object)

DTE is the root object of the Visual Studio .NET automation object model. It is provided to add-ins as the applicationObject parameter to the OnConnection method. It is also known as the application object. You must use the applicationObject in an add-in to reference any of the automation objects in the environment. You can also use DTE in macros to reference the automation objects in a macro.

Events (Object)

The Events object gives you access to all events in the IDE.

Find (Object)

The Find object allows you to execute find operations on documents and files in the IDE. It allows you to search for and replace text in the code editor programmatically.

FontsAndColorsItems (Collection)

The FontsAndColorsItems collection contains details related to the color, appearance, and other font-related attributes of an item.

Globals (Object)

The Globals object is a cache for storing data while an instance of the IDE is extant. You can also persist data between sessions of the IDE using the Globals object.

IDesignerOptionService (Interface)

The IDesignerOptionService object allows you to access the Options dialog box, which is available through Tools Options in the IDE. You can retrieve and update settings in the dialog box through the use of the GetOptionValue and SetOptionValue methods.

IDTCommandTarget (Interface)

The IDTCommandTarget interface allows you to implement named commands in the environment. It also allows you to define the status of a command or execute it.

If you enter a command that was added with the AddNamedCommand method into the Command window, the Command window first checks to see if the command is enabled or not using the IDTCommandTarget interface's QueryStatus method. The same applies if you call the ExecuteCommand method.

IDTToolsOptionsPage (Interface)

The IDTToolsOptionsPage interface allows you to create your own custom Tools Options pages. When implemented, it provides five methods that act as events within the environment.

IDTWizard (Interface)

The IDTWizard interface allows you to create wizards that can appear in the Add Project and Add Item dialog boxes. When implemented, it provides one method, Exec, whose code executes when the wizard is activated.

IExtenderProvider (Interface)

The automation extenders portion of the Visual Studio .NET automation model provides the ability to add or filter properties that are displayed in a specified project type.

IFilterProperties (Interface)

IFilterProperties should be implemented by an automation extender if it wants to filter one or more Extender properties.

ItemOperations (Object)

This object performs common file actions.

Macros Object

The Macros object allows you to control the macro recorder from an add-in. You can detect when macros are recording. You can also insert lines of code into amacro and resume recording.

OutputWindowEvents (Object)

The OutputWindowEvents object provides events for changes to the Output window.

Properties (Collection)

The Properties collection allows you to iterate through the properties of the DTE object.

Property (Object)

The Property object relates to a property in a generic collection of properties for a specified object.

SelectionContainer (Object)

The SelectionContainer object is a generic selection-tracking object. There is one global selection object for the environment: DTE.SelectedItems.SelectionContainer. SelectedItems is a collection that represents individual ProjectItem objects from which you can get the Project object. Because an item can offer a selection of an arbitrary object within its context, however, the SelectionContainer can represent any type of selected object.

SelectionEvents (Object)

This object provides events when a selection changes.

SolutionEvents (Object)

This object fires an event when a solution item is added, removed, or renamed.

StatusBar (Object)

The StatusBar object represents the status bar in the IDE. The IDE has only one status bar and it is created by the IDE. You can update the progress and text panels of the status bar by using the methods of the StatusBar object.

TextEditorEvents (Object)

The TextEditorEvents object fires an event when the cursor is moved to a new line in the TextEditor.

WindowConfiguration (Object)

The WindowConfiguration object contains all named window configurations created for the environment. You can save your current window layout in the Visual Studio environment as a named window configuration.

WindowConfigurations (Collection)

The WindowConfigurations collection contains all such configurations. It is possible to save your current window layout in the Visual Studio environment as a named window configuration. The WindowConfigurations collection is the repository for these configurations.

WindowEvents (Object)

This object fires an event when the active window changes.



 < Free Open Study > 



Writing Add-Ins for Visual Studio  .NET
Writing Add-Ins for Visual Studio .NET
ISBN: 1590590260
EAN: 2147483647
Year: 2002
Pages: 172
Authors: Les Smith

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net