_DTE Interface
TOC
Collapse the table of content
Expand the table of content

_DTE Interface

 

The top-level object in the Visual Studio automation object model. Refer to _DTE for this functionality. Do not instantiate from this class.

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

[<GuidAttribute("04A72314-32E9-48E2-9B87-A63603454F3E")>]
type _DTE = interface end

NameDescription
System_CAPS_pubpropertyActiveDocument

Gets the active document.

System_CAPS_pubpropertyActiveSolutionProjects

Gets an array of currently selected projects.

System_CAPS_pubpropertyActiveWindow

Returns the currently active window, or the top-most window if no others are active.

System_CAPS_pubpropertyAddIns

Gets the AddIns collection, which contains all currently available add-ins.

System_CAPS_pubpropertyApplication

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyCommandBars

Gets a reference to the development environment's command bars.

System_CAPS_pubpropertyCommandLineArguments

Gets a string representing the command line arguments.

System_CAPS_pubpropertyCommands

Returns the Commands collection.

System_CAPS_pubpropertyContextAttributes

Gets a ContextAttributes collection which allows automation clients to add new attributes to the current selected items in the Dynamic Help window and provide contextual help for the additional attributes.

System_CAPS_pubpropertyDebugger

Gets the debugger objects.

System_CAPS_pubpropertyDisplayMode

Gets the display mode, either MDI or Tabbed Documents.

System_CAPS_pubpropertyDocuments

Gets the collection of open documents in the development environment.

System_CAPS_pubpropertyDTE

Gets the top-level extensibility object.

System_CAPS_pubpropertyEdition

Gets a description of the edition of the environment.

System_CAPS_pubpropertyEvents

Gets a reference to the Events object.

System_CAPS_pubpropertyFileName

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyFind

Gets the Find object that represents global text find operations.

System_CAPS_pubpropertyFullName

Gets the full path and name of the object's file.

System_CAPS_pubpropertyGlobals

Gets the Globals object that contains values that may be saved in the solution (.sln) file, the project file, or in the user's profile data.

System_CAPS_pubpropertyIsOpenFile(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubpropertyItemOperations

Gets the ItemOperations object.

System_CAPS_pubpropertyLocaleID

Gets the ID of the locale in which the development environment is running.

System_CAPS_pubpropertyMacros

Gets the Macros object.

System_CAPS_pubpropertyMacrosIDE

Gets the root of the Macros IDE's automation model.

System_CAPS_pubpropertyMainWindow

Gets a Window object representing the main development environment window.

System_CAPS_pubpropertyMode

Gets the mode of the development environment, either debug or design.

System_CAPS_pubpropertyName

Sets or gets the name of the _DTE object.

System_CAPS_pubpropertyObjectExtenders

Gets the ObjectExtenders object.

System_CAPS_pubpropertyProperties(String, String)

Returns a Properties collection representing all available categories and subcategories contained in the Options dialog box on the Tools menu.

System_CAPS_pubpropertyRegistryRoot

Gets a string with the path to the root of the Visual Studio registry settings.

System_CAPS_pubpropertySelectedItems

Gets a collection containing the items currently selected in the environment.

System_CAPS_pubpropertySolution

Gets the Solution object that represents all open projects in the current instance of the environment and allows access to the build objects.

System_CAPS_pubpropertySourceControl

Gets a SourceControl object that allows you to manipulate the source code control state of the file behind the object.

System_CAPS_pubpropertyStatusBar

Gets the StatusBar object, representing the status bar on the main development environment window.

System_CAPS_pubpropertySuppressUI

Gets or sets whether UI should be displayed during the execution of automation code.

System_CAPS_pubpropertyUndoContext

Gets the global UndoContext object.

System_CAPS_pubpropertyUserControl

Sets or gets a value indicating whether the environment was launched by a user or by automation.

System_CAPS_pubpropertyVersion

Gets the host application's version number.

System_CAPS_pubpropertyWindowConfigurations

Gets the WindowConfigurations collection, representing all available window configurations.

System_CAPS_pubpropertyWindows

Gets a Windows collection containing the windows that display in the object.

NameDescription
System_CAPS_pubmethodExecuteCommand(String, String)

Executes the specified command.

System_CAPS_pubmethodGetObject(String)

Gets an interface or object that is late-bound to the DTE object and can be accessed by name at run time.

System_CAPS_pubmethodLaunchWizard(String, Object[])

Runs a wizard with the supplied parameters.

System_CAPS_pubmethodOpenFile(String, String)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

System_CAPS_pubmethodQuit()

Closes the environment.

System_CAPS_pubmethodSatelliteDllPath(String, String)

Returns the computed path to the satellite DLL when given the installation directory and the file name of the DLL containing localized resources.

You can get the DTE automation object by calling GetService in the Initialize method. DTE2 dte = (DTE2)GetService(typeof(DTE));

Return to top
Show:
© 2016 Microsoft