ContextGuids Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

System.Object
  EnvDTE80.ContextGuids

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

[GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public abstract class ContextGuids

The ContextGuids type exposes the following members.

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic membervsContextGuidApplicationBrowserRepresents whether the Application Browser is displayed.
Public fieldStatic membervsContextGuidAutoLocalsRepresents whether the AutoLocals window is displayed.
Public fieldStatic membervsContextGuidBookmarksRepresents whether the Bookmark Window is displayed.
Public fieldStatic membervsContextGuidCallBrowserRepresents whether the Call Browser window is displayed. (Visual C++ only.)
Public fieldStatic membervsContextGuidCallStackRepresents whether the Call Stack window is displayed.
Public fieldStatic membervsContextGuidClassViewRepresents whether Class View is displayed.
Public fieldStatic membervsContextGuidCodeDefinitionRepresents whether the Code Definition Window is displayed.
Public fieldStatic membervsContextGuidCodeWindowRepresents whether the Code and Text Editor is visible.
Public fieldStatic membervsContextGuidCommandWindowRepresents whether the Command Window is displayed.
Public fieldStatic membervsContextGuidCommunityWindowRepresents whether the CodeZone Community window is displayed.
Public fieldStatic membervsContextGuidCSSTextEditorRepresents whether the CSS Editor is displayed.
Public fieldStatic membervsContextGuidData
Public fieldStatic membervsContextGuidDataSourceWindowAutoVisibleRepresents whether the Data Sources Window is visible.
Public fieldStatic membervsContextGuidDataSourceWindowSupportedRepresents whether the Data Sources Window is supported in the current context.
Public fieldStatic membervsContextGuidDebuggingRepresents whether the integrated development environment (IDE) is in debugging mode.
Public fieldStatic membervsContextGuidDesignModeRepresents whether the integrated development environment (IDE) is in Design view.
Public fieldStatic membervsContextGuidDeviceExplorer
Public fieldStatic membervsContextGuidDocumentOutlineRepresents whether the Document Outline window is displayed.
Public fieldStatic membervsContextGuidDynamicHelpRepresents whether the Dynamic Help window is displayed.
Public fieldStatic membervsContextGuidEmptySolutionRepresents whether an empty solution (one without projects) is open in the integrated development environment (IDE).
Public fieldStatic membervsContextGuidErrorListRepresents whether the Error List Window is displayed.
Public fieldStatic membervsContextGuidFavorites
Public fieldStatic membervsContextGuidFindReplaceRepresents whether the Find and Replace Window is displayed.
Public fieldStatic membervsContextGuidFindResults1Represents whether the Find Results Windows 1 is displayed.
Public fieldStatic membervsContextGuidFindResults2Represents whether the Find Results Windows 2 is displayed.
Public fieldStatic membervsContextGuidFindSymbolRepresents whether the Find Symbol window is displayed.
Public fieldStatic membervsContextGuidFindSymbolResultsRepresents whether the Find Symbol Results Window is displayed.
Public fieldStatic membervsContextGuidFramesRepresents whether the current context contains a window frame.
Public fieldStatic membervsContextGuidFullScreenModeRepresents whether the integrated development environment (IDE) is in full-screen view, rather than windowed view.
Public fieldStatic membervsContextGuidHelpContentsRepresents whether the Table of Contents tab of the Help window is displayed.
Public fieldStatic membervsContextGuidHelpIndexRepresents whether the Index tab of the Help window is displayed.
Public fieldStatic membervsContextGuidHelpSearchRepresents whether the Search pane of the Help window is displayed.
Public fieldStatic membervsContextGuidHTMLCodeViewRepresents whether the Code View of the editor is displayed.
Public fieldStatic membervsContextGuidHTMLDesignViewRepresents whether the Code and Text Editor is in Design view.
Public fieldStatic membervsContextGuidHTMLSourceEditorRepresents whether the Editor pane of the HTML Source editor is displayed.
Public fieldStatic membervsContextGuidHTMLSourceViewRepresents whether the View pane of the HTML Source editor is displayed.
Public fieldStatic membervsContextGuidKindStartPageRepresents whether the NIB: Start Page is displayed.
Public fieldStatic membervsContextGuidLinkedWindowFrameRepresents whether the current window is a linked window.
Public fieldStatic membervsContextGuidLocalsRepresents whether the Locals window is displayed.
Public fieldStatic membervsContextGuidMacroExplorerRepresents whether the Macro Explorer Window is displayed.
Public fieldStatic membervsContextGuidMainWindowRepresents the main Visual Studio window.
Public fieldStatic membervsContextGuidNoSolutionRepresents whether the integrated development environment (IDE) is open but with no solution loaded.
Public fieldStatic membervsContextGuidNotBuildingAndNotDebuggingRepresents whether the integrated development environment (IDE) is not building or debugging code.
Public fieldStatic membervsContextGuidObjectBrowserRepresents whether Object Browser is displayed.
Public fieldStatic membervsContextGuidOutputRepresents whether the Output Window is displayed.
Public fieldStatic membervsContextGuidPropertiesRepresents whether the Properties Window is displayed.
Public fieldStatic membervsContextGuidResourceViewRepresents whether the Resource View Window is displayed.
Public fieldStatic membervsContextGuidSchemaRepresents whether the Schema view is displayed.
Public fieldStatic membervsContextGuidServerExplorerRepresents whether Server Explorer is displayed.
Public fieldStatic membervsContextGuidSolutionBuildingRepresents whether the integrated development environment (IDE) is building a solution.
Public fieldStatic membervsContextGuidSolutionExistsRepresents whether a solution is loaded in the integrated development environment (IDE).
Public fieldStatic membervsContextGuidSolutionExistsAndNotBuildingAndNotDebuggingRepresents whether a solution is loaded but not being built or debugged.
Public fieldStatic membervsContextGuidSolutionExplorerRepresents whether Solution Explorer is displayed.
Public fieldStatic membervsContextGuidSolutionHasMultipleProjectsRepresents whether the current solution contains more than one project.
Public fieldStatic membervsContextGuidSolutionHasSingleProjectRepresents whether the current solution contains only one project.
Public fieldStatic membervsContextGuidSolutionOrProjectUpgradingRepresents whether the current solution, or project in the solution, is being upgraded.
Public fieldStatic membervsContextGuidTaskListRepresents whether the Task List (Visual Studio) is displayed.
Public fieldStatic membervsContextGuidTextEditorRepresents whether the Code and Text Editor is displayed.
Public fieldStatic membervsContextGuidThreadRepresents the Threads window.
Public fieldStatic membervsContextGuidToolboxRepresents whether the Toolbox is displayed.
Public fieldStatic membervsContextGuidToolboxInitializedRepresents whether the Toolbox is being started and intialized.
Public fieldStatic membervsContextGuidUIHierarchyDraggingRepresents an item that is being dragged to or from a TreeView Control (Windows Forms) or other hierarchical control.
Public fieldStatic membervsContextGuidWatchRepresents the Watch window.
Public fieldStatic membervsContextGuidWebBrowserRepresents whether the internal Visual Studio web browser is displayed.
Public fieldStatic membervsContextGuidWindowsFormsDesignerRepresents whether the Windows Forms Designer is displayed.
Public fieldStatic membervsContextGuidXMLTextEditorRepresents whether the XML Editor window is displayed.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft