Share via


Constants Class

Constants that are common to all Visual Studio programming languages.

Inheritance Hierarchy

System.Object
  EnvDTE.Constants

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

Syntax

'Declaration
<GuidAttribute("B1AB3125-0744-4B46-AA7A-8902E36D2E15")> _
Public MustInherit Class Constants
[GuidAttribute("B1AB3125-0744-4B46-AA7A-8902E36D2E15")]
public abstract class Constants
[GuidAttribute(L"B1AB3125-0744-4B46-AA7A-8902E36D2E15")]
public ref class Constants abstract
[<AbstractClass>]
[<GuidAttribute("B1AB3125-0744-4B46-AA7A-8902E36D2E15")>]
type Constants =  class end
public abstract class Constants

The Constants type exposes the following members.

Methods

  Name Description
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 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member dsCPP Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsFortran_Fixed Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsFortran_Free Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsHTML_IE3 Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsHTML_RFC1866 Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsIDL Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsJava Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member dsVBSMacro Deprecated in Visual Studio. They are available only for backward compatibility with earlier versions of Visual Studio. For details, see the documentation for the previous version.
Public fieldStatic member vsAddInCmdGroup The GUID that is used for a command when you call AddNamedCommand. Each command has a GUID and an ID associated with it, and this is the GUID for all add-in created commands.
Public fieldStatic member vsCATIDDocument The CATID for documents.
Public fieldStatic member vsCATIDGenericProject The CATID for generic projects — that is, projects without a specific object model.
Public fieldStatic member vsCATIDMiscFilesProject The CATID for the miscellaneous files project.
Public fieldStatic member vsCATIDMiscFilesProjectItem The CATID for the miscellaneous files project item.
Public fieldStatic member vsCATIDSolution The CATID for the solution.
Public fieldStatic member vsCATIDSolutionBrowseObject The CATID for items in the Property window when the solution node is selected in Solution Explorer.
Public fieldStatic member vsContextDebugging Indicates that the IDE is in Debugging mode.
Public fieldStatic member vsContextDesignMode Indicates that the IDE is in Design view.
Public fieldStatic member vsContextEmptySolution Indicates that the solution has no projects.
Public fieldStatic member vsContextFullScreenMode Indicates that the view of the integrated development environment (IDE) is full screen.
Public fieldStatic member vsContextMacroRecording Indicates that a macro is being recorded.
Public fieldStatic member vsContextMacroRecordingToolbar Indicates that the Macro Recorder toolbar is displayed.
Public fieldStatic member vsContextNoSolution Indicates that the integrated development environment (IDE) has no solution.
Public fieldStatic member vsContextSolutionBuilding Indicates that a solution is currently being built.
Public fieldStatic member vsContextSolutionHasMultipleProjects Indicates that the solution contains multiple projects.
Public fieldStatic member vsContextSolutionHasSingleProject Indicates that the solution contains only one project.
Public fieldStatic member vsDocumentKindBinary A binary file, opened with a binary file editor.
Public fieldStatic member vsDocumentKindHTML An HTML document. Can get the IHTMLDocument2 interface, also known as the Document Object Model (DOM).
Public fieldStatic member vsDocumentKindResource A resource file, opened with the resource editor.
Public fieldStatic member vsDocumentKindText A text document, opened with a text editor.
Public fieldStatic member vsext_GUID_AddItemWizard See vsWizardAddItem.
Public fieldStatic member vsext_GUID_NewProjectWizard See vsWizardNewProject.
Public fieldStatic member vsext_vk_Code See vsViewKindCode.
Public fieldStatic member vsext_vk_Debugging See vsViewKindDebugging.
Public fieldStatic member vsext_vk_Designer See vsViewKindDesigner.
Public fieldStatic member vsext_vk_Primary See vsViewKindPrimary.
Public fieldStatic member vsext_vk_TextView See vsViewKindTextView.
Public fieldStatic member vsext_wk_AutoLocalsWindow See vsWindowKindAutoLocals.
Public fieldStatic member vsext_wk_CallStackWindow See vsWindowKindCallStack.
Public fieldStatic member vsext_wk_ClassView See vsWindowKindClassView.
Public fieldStatic member vsext_wk_ContextWindow Refers to the Dynamic Help window.
Public fieldStatic member vsext_wk_ImmedWindow Refers to the Immediate window, used to execute commands in Debug mode.
Public fieldStatic member vsext_wk_LocalsWindow See vsWindowKindLocals.
Public fieldStatic member vsext_wk_ObjectBrowser See vsWindowKindObjectBrowser.
Public fieldStatic member vsext_wk_OutputWindow See vsWindowKindOutput.
Public fieldStatic member vsext_wk_PropertyBrowser See vsWindowKindProperties.
Public fieldStatic member vsext_wk_SProjectWindow The Project window, where the solution and its projects display.
Public fieldStatic member vsext_wk_TaskList See vsWindowKindTaskList.
Public fieldStatic member vsext_wk_ThreadWindow See vsWindowKindThread.
Public fieldStatic member vsext_wk_Toolbox See vsWindowKindToolbox.
Public fieldStatic member vsext_wk_WatchWindow See vsWindowKindWatch.
Public fieldStatic member vsMiscFilesProjectUniqueName The unique name for the Miscellaneous files project. Can be used to index the Solution.Projects object, such as: DTE.Solution.Projects.Item(vsMiscFilesProjectUniqueName).
Public fieldStatic member vsProjectItemKindMisc A project item in the miscellaneous files folder of the solution.
Public fieldStatic member vsProjectItemKindPhysicalFile A file in the system.
Public fieldStatic member vsProjectItemKindPhysicalFolder A folder in the system.
Public fieldStatic member vsProjectItemKindSolutionItems A project item type in the solution.
Public fieldStatic member vsProjectItemKindSubProject A subproject under the project. If returned by Kind, then SubProject returns as a Project object.
Public fieldStatic member vsProjectItemKindVirtualFolder Indicates that the folder in the project does not physically appear on disk.
Public fieldStatic member vsProjectItemsKindMisc A project item located in the miscellaneous files folder of the solution.
Public fieldStatic member vsProjectItemsKindSolutionItems A collection of items in the solution items folder of the solution.
Public fieldStatic member vsProjectKindMisc A miscellaneous files project.
Public fieldStatic member vsProjectKindSolutionItems A solution items project.
Public fieldStatic member vsProjectKindUnmodeled An unmodeled project.
Public fieldStatic member vsProjectsKindSolution The Projects collection's Kind property returns a GUID identifying the collection of project types that it contains.
Public fieldStatic member vsSolutionItemsProjectUniqueName The unique name for projects in the solution. Can be used to index the SolutionClass object's Projects collection, such as: DTE.Solution.Projects.Item(vsProjectsKindSolution).
Public fieldStatic member vsViewKindAny Use the view that was last used.
Public fieldStatic member vsViewKindCode View in code editor.
Public fieldStatic member vsViewKindDebugging View in debugger.
Public fieldStatic member vsViewKindDesigner View in Visual Designer (forms designer).
Public fieldStatic member vsViewKindPrimary View in default viewer.
Public fieldStatic member vsViewKindTextView View in text editor.
Public fieldStatic member vsWindowKindAutoLocals The Debugger window.
Public fieldStatic member vsWindowKindCallStack The Call Stack window.
Public fieldStatic member vsWindowKindClassView The Class View window.
Public fieldStatic member vsWindowKindCommandWindow The Command window.
Public fieldStatic member vsWindowKindDocumentOutline The Document Outline window.
Public fieldStatic member vsWindowKindDynamicHelp The Dynamic Help window.
Public fieldStatic member vsWindowKindFindReplace The Find Replace dialog box.
Public fieldStatic member vsWindowKindFindResults1 The Find Results 1 window.
Public fieldStatic member vsWindowKindFindResults2 The Find Results 2 window.
Public fieldStatic member vsWindowKindFindSymbol The Find Symbol dialog box.
Public fieldStatic member vsWindowKindFindSymbolResults The Find Symbol Results window.
Public fieldStatic member vsWindowKindLinkedWindowFrame A linked window frame.
Public fieldStatic member vsWindowKindLocals The Debugger window.
Public fieldStatic member vsWindowKindMacroExplorer The Macro Explorer window.
Public fieldStatic member vsWindowKindMainWindow The Visual Studio IDE window.
Public fieldStatic member vsWindowKindObjectBrowser The Object Browser window.
Public fieldStatic member vsWindowKindOutput The Output window.
Public fieldStatic member vsWindowKindProperties The Properties window.
Public fieldStatic member vsWindowKindResourceView The Resource Editor.
Public fieldStatic member vsWindowKindServerExplorer The Server Explorer.
Public fieldStatic member vsWindowKindSolutionExplorer The Solution Explorer.
Public fieldStatic member vsWindowKindTaskList The Task List window.
Public fieldStatic member vsWindowKindThread The Debugger window.
Public fieldStatic member vsWindowKindToolbox The Toolbox.
Public fieldStatic member vsWindowKindWatch The Watch window.
Public fieldStatic member vsWindowKindWebBrowser A Web browser window hosted in Visual Studio.
Public fieldStatic member vsWizardAddItem Represents the "AddItem" wizard type.
Public fieldStatic member vsWizardAddSubProject Represents the "AddSubProject" wizard type.
Public fieldStatic member vsWizardNewProject Represents the "NewProject" wizard type.

Top

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