ContextGuids Class
Contains context GUIDs, each of which represents a state of the integrated development environment (IDE) or a tool window. Examples of state include a debugging session in process, an empty solution being loaded, or the IDE in design view. This enumeration is passed as an argument to AddNamedCommand and AddNamedCommand2.
Inheritance Hierarchy
System.Object
EnvDTE80.ContextGuids
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
<GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")> _
Public MustInherit Class ContextGuids
[GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public abstract class ContextGuids
[GuidAttribute(L"18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public ref class ContextGuids abstract
[<AbstractClass>]
[<GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")>]
type ContextGuids = class end
public abstract class ContextGuids
The ContextGuids type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
vsContextGuidApplicationBrowser | Represents whether the Application Browser is displayed. | |
vsContextGuidAutoLocals | Represents whether the AutoLocals window is displayed. | |
vsContextGuidBookmarks | Represents whether the Bookmark Window is displayed. | |
vsContextGuidCallBrowser | Represents whether the Call Browser window is displayed. (Visual C++ only.) | |
vsContextGuidCallStack | Represents whether the Call Stack window is displayed. | |
vsContextGuidClassView | Represents whether Class View is displayed. | |
vsContextGuidCodeDefinition | Represents whether the Code Definition Window is displayed. | |
vsContextGuidCodeWindow | Represents whether the Code and Text Editor is visible. | |
vsContextGuidCommandWindow | Represents whether the Command Window is displayed. | |
vsContextGuidCommunityWindow | Represents whether the CodeZone Community window is displayed. | |
vsContextGuidCSSTextEditor | Represents whether the CSS Editor is displayed. | |
vsContextGuidData | ||
vsContextGuidDataSourceWindowAutoVisible | Represents whether the Data Sources Window is visible. | |
vsContextGuidDataSourceWindowSupported | Represents whether the Data Sources Window is supported in the current context. | |
vsContextGuidDebugging | Represents whether the integrated development environment (IDE) is in debugging mode. | |
vsContextGuidDesignMode | Represents whether the integrated development environment (IDE) is in Design view. | |
vsContextGuidDeviceExplorer | ||
vsContextGuidDocumentOutline | Represents whether the Document Outline window is displayed. | |
vsContextGuidDynamicHelp | Represents whether the Dynamic Help window is displayed. | |
vsContextGuidEmptySolution | Represents whether an empty solution (one without projects) is open in the integrated development environment (IDE). | |
vsContextGuidErrorList | Represents whether the Error List Window is displayed. | |
vsContextGuidFavorites | ||
vsContextGuidFindReplace | Represents whether the Find and Replace Window is displayed. | |
vsContextGuidFindResults1 | Represents whether the Find Results Windows 1 is displayed. | |
vsContextGuidFindResults2 | Represents whether the Find Results Windows 2 is displayed. | |
vsContextGuidFindSymbol | Represents whether the Find Symbol window is displayed. | |
vsContextGuidFindSymbolResults | Represents whether the Find Symbol Results Window is displayed. | |
vsContextGuidFrames | Represents whether the current context contains a window frame. | |
vsContextGuidFullScreenMode | Represents whether the integrated development environment (IDE) is in full-screen view, rather than windowed view. | |
vsContextGuidHelpContents | Represents whether the Table of Contents tab of the Help window is displayed. | |
vsContextGuidHelpIndex | Represents whether the Index tab of the Help window is displayed. | |
vsContextGuidHelpSearch | Represents whether the Search pane of the Help window is displayed. | |
vsContextGuidHTMLCodeView | Represents whether the Code View of the editor is displayed. | |
vsContextGuidHTMLDesignView | Represents whether the Code and Text Editor is in Design view. | |
vsContextGuidHTMLSourceEditor | Represents whether the Editor pane of the HTML Source editor is displayed. | |
vsContextGuidHTMLSourceView | Represents whether the View pane of the HTML Source editor is displayed. | |
vsContextGuidKindStartPage | Represents whether the Start Page is displayed. | |
vsContextGuidLinkedWindowFrame | Represents whether the current window is a linked window. | |
vsContextGuidLocals | Represents whether the Locals window is displayed. | |
vsContextGuidMacroExplorer | Represents whether the Macro Explorer Window is displayed. | |
vsContextGuidMainWindow | Represents the main Visual Studio window. | |
vsContextGuidNoSolution | Represents whether the integrated development environment (IDE) is open but with no solution loaded. | |
vsContextGuidNotBuildingAndNotDebugging | Represents whether the integrated development environment (IDE) is not building or debugging code. | |
vsContextGuidObjectBrowser | Represents whether Object Browser is displayed. | |
vsContextGuidOutput | Represents whether the Output Window is displayed. | |
vsContextGuidProperties | Represents whether the Properties Window is displayed. | |
vsContextGuidResourceView | Represents whether the Resource View Window is displayed. | |
vsContextGuidSchema | Represents whether the Schema view is displayed. | |
vsContextGuidServerExplorer | Represents whether Server Explorer/Database Explorer is displayed. | |
vsContextGuidSolutionBuilding | Represents whether the integrated development environment (IDE) is building a solution. | |
vsContextGuidSolutionExists | Represents whether a solution is loaded in the integrated development environment (IDE). | |
vsContextGuidSolutionExistsAndNotBuildingAndNotDebugging | Represents whether a solution is loaded but not being built or debugged. | |
vsContextGuidSolutionExplorer | Represents whether Solution Explorer is displayed. | |
vsContextGuidSolutionHasMultipleProjects | Represents whether the current solution contains more than one project. | |
vsContextGuidSolutionHasSingleProject | Represents whether the current solution contains only one project. | |
vsContextGuidSolutionOrProjectUpgrading | Represents whether the current solution, or project in the solution, is being upgraded. | |
vsContextGuidTaskList | Represents whether the Task List (Visual Studio) is displayed. | |
vsContextGuidTextEditor | Represents whether the Code and Text Editor is displayed. | |
vsContextGuidThread | Represents the Threads window. | |
vsContextGuidToolbox | Represents whether the Toolbox is displayed. | |
vsContextGuidToolboxInitialized | Represents whether the Toolbox is being started and intialized. | |
vsContextGuidUIHierarchyDragging | Represents an item that is being dragged to or from a TreeView Control (Windows Forms) or other hierarchical control. | |
vsContextGuidWatch | Represents the Watch window. | |
vsContextGuidWebBrowser | Represents whether the internal Visual Studio web browser is displayed. | |
vsContextGuidWindowsFormsDesigner | Represents whether the Windows Forms Designer is displayed. | |
vsContextGuidXMLTextEditor | Represents whether the XML Editor window is displayed. |
Top
Remarks
Many commands are displayed only when their related context GUIDs are active. For example, some debugging commands are not displayed unless you are debugging code. If none of the related contexts are active, then the command is not displayed.
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.