Export (0) Print
Expand All
ID
Top
Expand Minimize

DTE Property (General Extensibility)

Visual Studio .NET 2003

Returns the top-level extensibility object.

[Visual Basic .NET]
Public ReadOnly Property DTE() As DTE
[Visual Basic 6]
Property Get DTE() As DTE
[C++]
HRESULT __stdcall get_DTE(
   /* [out, retval] */ DTE** retVal
);
[C#]
DTE DTE {get;}
[JScript .NET]
public function get DTE() : DTE

Return Value

Returns a DTE object.

Remarks

In Visual Studio, the DTE Object is the root of the automation model, which other object models often call "Application". "DTE" is an acronym that stands for "Development Tools Environment."

Example

Sub DTEExample()
   Dim TWin As Window = DTE.Windows.Item(Constants.vsWindowKindTaskList)
   Dim TL As TaskList = TWin.Object
   Dim win As Window
   win = TL.Parent
   MsgBox("Window's ObjectKind value: " & win.ObjectKind.ToString)
End Sub

See Also

Applies To: AddIn Object | AddIns Collection | Breakpoint Object | Breakpoints Collection | BuildDependencies Collection | BuildDependency Object | CodeAttribute Object | CodeClass Object | CodeDelegate Object | CodeElement Object | CodeElements Collection | CodeEnum Object | CodeFunction Object | CodeInterface Object | CodeModel Object | CodeNameSpace Object | CodeParameter Object | CodeProperty Object | CodeStruct Object | CodeType Object | CodeTypeRef Object | CodeVariable Object | Command Object | Commands Collection | CommandWindow Object | Configuration Object | ConfigurationManager Object | Configurations Collection | ContextAttribute Object | ContextAttributes Collection | Debugger Object | Document Object | Documents Collection | EditPoint Object | Expression Object | Expressions Collection | FileCodeModel Object | Find Object | Globals Object | HTMLWindow Object | ItemOperations Object | Language Object | Languages Collection | LinkedWindows Collection | Macros Object | ObjectExtenders Object | OutputGroup Object | OutputGroups Collection | OutputWindow Object | OutputWindowPane Object | OutputWindowPanes Collection | Process Object | Processes Collection | Program Object | Programs Collection | Project Object | ProjectItem Object | ProjectItems Collection | Projects Collection | Properties Collection | Property Object | SelectedItem Object | SelectedItems Collection | SelectionContainer Object | Solution Object | SolutionBuild Object | SolutionConfiguration Object | SolutionConfigurations Collection | SolutionContext Object | SolutionContexts Collection | StackFrame Object | StackFrames Collection | StatusBar Object | TaskItem Object | TaskItems Collection | TaskList Object | TextDocument Object | TextPane Object | TextPanes Collection | TextPoint Object | TextRange Object | TextRanges Collection | TextSelection Object | TextWindow Object | Thread Object | Threads Collection | ToolBox Object | ToolBoxItem Object | ToolBoxItems Collection | ToolBoxTab Object | ToolBoxTabs Collection | UIHierarchy Object | UIHierarchyItem Object | UIHierarchyItems Collection | UndoContext Object | VCCodeAttribute Object | VCCodeBase Object | VCCodeClass Object | VCCodeDelegate Object | VCCodeElement Object | VCCodeElements Collection | VCCodeEnum Object | VCCodeEvent Object | VCCodeFunction Object | VCCodeIDLCoClass Object | VCCodeIDLImport Object | VCCodeIDLImportLib Object | VCCodeIDLLibrary Object | VCCodeImport Object | VCCodeInclude Object | VCCodeInterface Object | VCCodeMacro Object | VCCodeMap Object | VCCodeMapEntry Object | VCCodeModel Object | VCCodeNamespace Object | VCCodeParameter Object | VCCodeProperty Object | VCCodeStruct Object | VCCodeTypedef Object | VCCodeUnion Object | VCCodeVariable Object | VCFileCodeModel Object | VirtualPoint Object | Window Object | WindowConfiguration Object | WindowConfigurations Collection | Windows Collection

Show:
© 2014 Microsoft