Udostępnij za pośrednictwem


ContextGuids Class

Definition

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(AddIn, String, String, String, Boolean, Int32, Object[], Int32) and AddNamedCommand2(AddIn, String, String, String, Boolean, Object, Object[], Int32, Int32, vsCommandControlType).

public ref class ContextGuids abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ContextGuids abstract
[Windows::Foundation::Metadata::WebHostHidden]
class ContextGuids abstract
[System.Runtime.InteropServices.Guid("18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public abstract class ContextGuids
[<System.Runtime.InteropServices.Guid("18CBB358-74CE-454F-AB65-08C83DDF7B3C")>]
type ContextGuids = class
Public MustInherit Class ContextGuids
Inheritance
ContextGuids
Attributes

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.

Constructors

ContextGuids()

Fields

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 NIB: Code Definition Window is displayed.

vsContextGuidCodeWindow

Represents whether the NIB: Code and Text Editor.old 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 NIB: Code and Text Editor.old 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 NIB: 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 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 <Pave Over> Task List (Visual Studio) is displayed.

vsContextGuidTextEditor

Represents whether the NIB: Code and Text Editor.old 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 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.

Applies to