共用方式為


VSConstants.UICONTEXT Class

Provides the GUIDs for different command contexts.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.VSConstants.UICONTEXT

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class UICONTEXT
public static class UICONTEXT
public ref class UICONTEXT abstract sealed
[<AbstractClass>]
[<Sealed>]
type UICONTEXT =  class end
public final class UICONTEXT

The VSConstants.UICONTEXT type exposes the following members.

Fields

  Name Description
Public fieldStatic member ApplicationDesigner_guid Specifies a context in which Application Designer is active.
Public fieldStatic member ApplicationDesigner_string Specifies a context in which Application Designer is active.
Public fieldStatic member BackgroundProjectLoad_guid Specifies a context in which a background project is being loaded.
Public fieldStatic member BackgroundProjectLoad_string Specifies a context in which a background project is being loaded.
Public fieldStatic member CodeWindow_guid Specifies a context in which a code window currently has focus.
Public fieldStatic member CodeWindow_string Specifies a context in which a code window currently has focus.
Public fieldStatic member CSharpProject_guid Specifies a context in which a C# project is active.
Public fieldStatic member CSharpProject_string Specifies a context in which a C# project is active.
Public fieldStatic member DataSourceWindowAutoVisible_guid Specifies a context in which a data source window is auto visible.
Public fieldStatic member DataSourceWindowAutoVisible_string Specifies a context in which a data source window is auto visible.
Public fieldStatic member DataSourceWindowSupported_guid Specifies a context in which a data source window is supported by the project.
Public fieldStatic member DataSourceWindowSupported_string Specifies a context in which a data source window is supported by the project.
Public fieldStatic member DataSourceWizardSuppressed_guid Specifies a context in which a data source wizard is suppressed.
Public fieldStatic member DataSourceWizardSuppressed_string Specifies a context in which a data source wizard is suppressed.
Public fieldStatic member Debugging_guid Specifies a context in which the user is debugging.
Public fieldStatic member Debugging_string Specifies a context in which the user is debugging.
Public fieldStatic member DesignMode_guid Specifies a context where the IDE is in design mode.
Public fieldStatic member DesignMode_string Specifies a context where the IDE is in design mode.
Public fieldStatic member Dragging_guid Specifies a context that occurs while dragging items in Solution Explorer.
Public fieldStatic member Dragging_string Specifies a context that occurs while dragging items in Solution Explorer.
Public fieldStatic member EmptySolution_guid Specifies a context in which an empty solution has been loaded.
Public fieldStatic member EmptySolution_string Specifies a context in which an empty solution has been loaded.
Public fieldStatic member FirstLaunchSetup_guid Specifies a context in which the first launch after setup is in progress. Packages may use ProvideAutoLoad with this UI context to perform expensive one-time per-user initialization. Note that during the first launch after setup, many services are unavailable and a package may not display any UI. The first launch after setup is not guaranteed to be called; it is just an opportunity for packages to build caches.
Public fieldStatic member FirstLaunchSetup_string Specifies a context in which the first launch after setup is in progress. Packages may use ProvideAutoLoad with this UI context to perform expensive one-time per-user initialization. Note that during the first launch after setup, many services are unavailable and a package may not display any UI. The first launch after setup is not guaranteed to be called; it is just an opportunity for packages to build caches.
Public fieldStatic member FSharpProject_guid Specifies a context in which an F# project is active.
Public fieldStatic member FSharpProject_string Specifies a context in which an F# project is active.
Public fieldStatic member FullScreenMode_guid Specifies a context that is active when the IDE is in full screen mode.
Public fieldStatic member FullScreenMode_string Specifies a context that is active when is in full screen mode.
Public fieldStatic member HistoricalDebugging_guid Specifies a context in which historical debugging is active.
Public fieldStatic member HistoricalDebugging_string Specifies a context in which debugging is active.
Public fieldStatic member IdeUserSignedIn_guid
Public fieldStatic member IdeUserSignedIn_string
Public fieldStatic member NoSolution_guid Specifies a context in which no solution is loaded.
Public fieldStatic member NoSolution_string Specifies a context in which no solution is loaded.
Public fieldStatic member NotBuildingAndNotDebugging_guid Specifies a context in which the solution is not being built or debugged.
Public fieldStatic member NotBuildingAndNotDebugging_string Specifies a context in which the solution is not being built or debugged.
Public fieldStatic member OsWindows8OrHigher_guid Specifies a context which is running under a Windows 8 or later operating system.
Public fieldStatic member OsWindows8OrHigher_string Specifies a context which is running under a Windows 8 or later operating system.
Public fieldStatic member ProjectRetargeting_guid Specifies a context in which the project is being retargeted.
Public fieldStatic member ProjectRetargeting_string Specifies a context in which the project is being retargeted.
Public fieldStatic member PropertyPageDesigner_guid Specifies a context in which the Property Page Designer is active.
Public fieldStatic member PropertyPageDesigner_string Specifies a context in which the Property Page Designer is active.
Public fieldStatic member RESXEditor_guid Specifies a context in which the Windows Forms Resource Editor is active.
Public fieldStatic member RESXEditor_string Specifies a context in which the Windows Forms Resource Editor is active.
Public fieldStatic member SettingsDesigner_guid Specifies a context in which the Settings Designer is active.
Public fieldStatic member SettingsDesigner_string Specifies a context in which the Settings Designer is active.
Public fieldStatic member SolutionBuilding_guid Specifies a context in which a project or solution is currently being built.
Public fieldStatic member SolutionBuilding_string Specifies a context in which a project or solution is currently being built.
Public fieldStatic member SolutionExists_guid Specifies a context in which a solution has been loaded.
Public fieldStatic member SolutionExists_string Specifies a context in which a solution has been loaded.
Public fieldStatic member SolutionExistsAndFullyLoaded_guid Specifies a context in which a solution has been completely loaded.
Public fieldStatic member SolutionExistsAndFullyLoaded_string Specifies a context in which a solution has been completely loaded.
Public fieldStatic member SolutionExistsAndNotBuildingAndNotDebugging_guid Specifies a context in which a solution is loaded but is not being built or debugged.
Public fieldStatic member SolutionExistsAndNotBuildingAndNotDebugging_string Specifies a context in which a solution is loaded but is not being built or debugged.
Public fieldStatic member SolutionHasAppContainerProject_guid Specifies a context in which a loaded solution contains an app container project.
Public fieldStatic member SolutionHasAppContainerProject_string Specifies a context in which a loaded solution contains an app container project.
Public fieldStatic member SolutionHasMultipleProjects_guid Specifies a context in which a loaded solution contains more than one project.
Public fieldStatic member SolutionHasMultipleProjects_string Specifies a context in which a loaded solution contains more than one project.
Public fieldStatic member SolutionHasSingleProject_guid Specifies a context in which a loaded solution contains a single project.
Public fieldStatic member SolutionHasSingleProject_string Specifies a context in which a loaded solution contains a single project.
Public fieldStatic member SolutionOpening_guid Specifies a context in which a solution is being opened.
Public fieldStatic member SolutionOpening_string Specifies a context in which a solution is being opened.
Public fieldStatic member SolutionOrProjectUpgrading_guid Specifies a context in which a project or solution is being upgraded.
Public fieldStatic member SolutionOrProjectUpgrading_string Specifies a context in which a project or solution is being upgraded.
Public fieldStatic member StandardPreviewerConfigurationChanging_guid Specifies a context in which the standard previewer configuration is being changed.
Public fieldStatic member StandardPreviewerConfigurationChanging_string Specifies a context in which the standard previewer configuration is being changed.
Public fieldStatic member ToolboxInitialized_guid Specifies a context in which the Toolbox has been initialized.
Public fieldStatic member ToolboxInitialized_string Specifies a context in which the Toolbox has been initialized.
Public fieldStatic member ToolboxVisible_guid Specifies a context in which the Toolbox is visible.
Public fieldStatic member ToolboxVisible_string Specifies a context in which the Toolbox is visible.
Public fieldStatic member VBCodeAttribute_guid Specifies a context in which a Visual Basic attribute is active.
Public fieldStatic member VBCodeAttribute_string
Public fieldStatic member VBCodeClass_guid
Public fieldStatic member VBCodeClass_string
Public fieldStatic member VBCodeDelegate_guid
Public fieldStatic member VBCodeDelegate_string
Public fieldStatic member VBCodeEnum_guid
Public fieldStatic member VBCodeEnum_string
Public fieldStatic member VBCodeFunction_guid
Public fieldStatic member VBCodeFunction_string
Public fieldStatic member VBCodeInterface_guid
Public fieldStatic member VBCodeInterface_string
Public fieldStatic member VBCodeNamespace_guid
Public fieldStatic member VBCodeNamespace_string
Public fieldStatic member VBCodeParameter_guid
Public fieldStatic member VBCodeParameter_string
Public fieldStatic member VBCodeProperty_guid
Public fieldStatic member VBCodeProperty_string
Public fieldStatic member VBCodeStruct_guid
Public fieldStatic member VBCodeStruct_string
Public fieldStatic member VBCodeVariable_guid
Public fieldStatic member VBCodeVariable_string
Public fieldStatic member VBProject_guid Specifies a context in which a Visual Basic project is open.
Public fieldStatic member VBProject_string Specifies a context in which a Visual Basic project is open.
Public fieldStatic member VBProjOpened_guid Specifies a context in which a Visual Basic project is open.
Public fieldStatic member VBProjOpened_string Specifies a context in which a Visual Basic project is open.
Public fieldStatic member VCProject_guid Specifies a context in which a Visual C++ project is active.
Public fieldStatic member VCProject_string Specifies a context in which a Visual C++ project is active.

Top

Remarks

For more information about command contexts, see UIContextGuids and UIContextGuids80.

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

Microsoft.VisualStudio Namespace