Share via


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
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 a hash function for a particular type. (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 vsContextGuidApplicationBrowser Represents whether the Application Browser is displayed.
Public fieldStatic member vsContextGuidAutoLocals Represents whether the AutoLocals window is displayed.
Public fieldStatic member vsContextGuidBookmarks Represents whether the Bookmark Window is displayed.
Public fieldStatic member vsContextGuidCallBrowser Represents whether the Call Browser window is displayed. (Visual C++ only.)
Public fieldStatic member vsContextGuidCallStack Represents whether the Call Stack window is displayed.
Public fieldStatic member vsContextGuidClassView Represents whether Class View is displayed.
Public fieldStatic member vsContextGuidCodeDefinition Represents whether the Code Definition Window is displayed.
Public fieldStatic member vsContextGuidCodeWindow Represents whether the Code and Text Editor is visible.
Public fieldStatic member vsContextGuidCommandWindow Represents whether the Command Window is displayed.
Public fieldStatic member vsContextGuidCommunityWindow Represents whether the CodeZone Community window is displayed.
Public fieldStatic member vsContextGuidCSSTextEditor Represents whether the CSS Editor is displayed.
Public fieldStatic member vsContextGuidData
Public fieldStatic member vsContextGuidDataSourceWindowAutoVisible Represents whether the Data Sources Window is visible.
Public fieldStatic member vsContextGuidDataSourceWindowSupported Represents whether the Data Sources Window is supported in the current context.
Public fieldStatic member vsContextGuidDebugging Represents whether the integrated development environment (IDE) is in debugging mode.
Public fieldStatic member vsContextGuidDesignMode Represents whether the integrated development environment (IDE) is in Design view.
Public fieldStatic member vsContextGuidDeviceExplorer
Public fieldStatic member vsContextGuidDocumentOutline Represents whether the Document Outline window is displayed.
Public fieldStatic member vsContextGuidDynamicHelp Represents whether the Dynamic Help window is displayed.
Public fieldStatic member vsContextGuidEmptySolution Represents whether an empty solution (one without projects) is open in the integrated development environment (IDE).
Public fieldStatic member vsContextGuidErrorList Represents whether the Error List Window is displayed.
Public fieldStatic member vsContextGuidFavorites
Public fieldStatic member vsContextGuidFindReplace Represents whether the Find and Replace Window is displayed.
Public fieldStatic member vsContextGuidFindResults1 Represents whether the Find Results Windows 1 is displayed.
Public fieldStatic member vsContextGuidFindResults2 Represents whether the Find Results Windows 2 is displayed.
Public fieldStatic member vsContextGuidFindSymbol Represents whether the Find Symbol window is displayed.
Public fieldStatic member vsContextGuidFindSymbolResults Represents whether the Find Symbol Results Window is displayed.
Public fieldStatic member vsContextGuidFrames Represents whether the current context contains a window frame.
Public fieldStatic member vsContextGuidFullScreenMode Represents whether the integrated development environment (IDE) is in full-screen view, rather than windowed view.
Public fieldStatic member vsContextGuidHelpContents Represents whether the Table of Contents tab of the Help window is displayed.
Public fieldStatic member vsContextGuidHelpIndex Represents whether the Index tab of the Help window is displayed.
Public fieldStatic member vsContextGuidHelpSearch Represents whether the Search pane of the Help window is displayed.
Public fieldStatic member vsContextGuidHTMLCodeView Represents whether the Code View of the editor is displayed.
Public fieldStatic member vsContextGuidHTMLDesignView Represents whether the Code and Text Editor is in Design view.
Public fieldStatic member vsContextGuidHTMLSourceEditor Represents whether the Editor pane of the HTML Source editor is displayed.
Public fieldStatic member vsContextGuidHTMLSourceView Represents whether the View pane of the HTML Source editor is displayed.
Public fieldStatic member vsContextGuidKindStartPage Represents whether the Start Page is displayed.
Public fieldStatic member vsContextGuidLinkedWindowFrame Represents whether the current window is a linked window.
Public fieldStatic member vsContextGuidLocals Represents whether the Locals window is displayed.
Public fieldStatic member vsContextGuidMacroExplorer Represents whether the Macro Explorer Window is displayed.
Public fieldStatic member vsContextGuidMainWindow Represents the main Visual Studio window.
Public fieldStatic member vsContextGuidNoSolution Represents whether the integrated development environment (IDE) is open but with no solution loaded.
Public fieldStatic member vsContextGuidNotBuildingAndNotDebugging Represents whether the integrated development environment (IDE) is not building or debugging code.
Public fieldStatic member vsContextGuidObjectBrowser Represents whether Object Browser is displayed.
Public fieldStatic member vsContextGuidOutput Represents whether the Output Window is displayed.
Public fieldStatic member vsContextGuidProperties Represents whether the Properties Window is displayed.
Public fieldStatic member vsContextGuidResourceView Represents whether the Resource View Window is displayed.
Public fieldStatic member vsContextGuidSchema Represents whether the Schema view is displayed.
Public fieldStatic member vsContextGuidServerExplorer Represents whether Server Explorer/Database Explorer is displayed.
Public fieldStatic member vsContextGuidSolutionBuilding Represents whether the integrated development environment (IDE) is building a solution.
Public fieldStatic member vsContextGuidSolutionExists Represents whether a solution is loaded in the integrated development environment (IDE).
Public fieldStatic member vsContextGuidSolutionExistsAndNotBuildingAndNotDebugging Represents whether a solution is loaded but not being built or debugged.
Public fieldStatic member vsContextGuidSolutionExplorer Represents whether Solution Explorer is displayed.
Public fieldStatic member vsContextGuidSolutionHasMultipleProjects Represents whether the current solution contains more than one project.
Public fieldStatic member vsContextGuidSolutionHasSingleProject Represents whether the current solution contains only one project.
Public fieldStatic member vsContextGuidSolutionOrProjectUpgrading Represents whether the current solution, or project in the solution, is being upgraded.
Public fieldStatic member vsContextGuidTaskList Represents whether the Task List (Visual Studio) is displayed.
Public fieldStatic member vsContextGuidTextEditor Represents whether the Code and Text Editor is displayed.
Public fieldStatic member vsContextGuidThread Represents the Threads window.
Public fieldStatic member vsContextGuidToolbox Represents whether the Toolbox is displayed.
Public fieldStatic member vsContextGuidToolboxInitialized Represents whether the Toolbox is being started and intialized.
Public fieldStatic member vsContextGuidUIHierarchyDragging Represents an item that is being dragged to or from a TreeView Control (Windows Forms) or other hierarchical control.
Public fieldStatic member vsContextGuidWatch Represents the Watch window.
Public fieldStatic member vsContextGuidWebBrowser Represents whether the internal Visual Studio web browser is displayed.
Public fieldStatic member vsContextGuidWindowsFormsDesigner Represents whether the Windows Forms Designer is displayed.
Public fieldStatic member 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.

See Also

Reference

EnvDTE80 Namespace