VSConstants.UICONTEXT 类

为不同的命令上下文提供 GUID。

继承层次结构

System.Object
  Microsoft.VisualStudio.VSConstants.UICONTEXT

命名空间:  Microsoft.VisualStudio
程序集:  Microsoft.VisualStudio.Shell.11.0(在 Microsoft.VisualStudio.Shell.11.0.dll 中)

语法

声明
Public NotInheritable Class UICONTEXT
public static class UICONTEXT

VSConstants.UICONTEXT 类型公开以下成员。

字段

  名称 说明
公共字段静态成员 ApplicationDesigner_guid 指定应用程序设计器处于活动状态的上下文。
公共字段静态成员 ApplicationDesigner_string 指定应用程序设计器处于活动状态的上下文。
公共字段静态成员 BackgroundProjectLoad_guid
公共字段静态成员 BackgroundProjectLoad_string
公共字段静态成员 CodeWindow_guid 指定代码窗口当前具有焦点的上下文。
公共字段静态成员 CodeWindow_string 指定代码窗口当前具有焦点的上下文。
公共字段静态成员 CSharpProject_guid 指定 C# 项目为活动的上下文。
公共字段静态成员 CSharpProject_string 指定 C# 项目为活动的上下文。
公共字段静态成员 DataSourceWindowAutoVisible_guid 指定是 " 数据源 " 窗口自动可见的上下文。
公共字段静态成员 DataSourceWindowAutoVisible_string 指定是 " 数据源 " 窗口自动可见的上下文。
公共字段静态成员 DataSourceWindowSupported_guid 指定数据源 " 窗口由项目支持的上下文。
公共字段静态成员 DataSourceWindowSupported_string 指定数据源 " 窗口由项目支持的上下文。
公共字段静态成员 DataSourceWizardSuppressed_guid 指定数据源 " 向导中禁止显示的上下文。
公共字段静态成员 DataSourceWizardSuppressed_string 指定数据源 " 向导中禁止显示的上下文。
公共字段静态成员 Debugging_guid 指定用户调试的上下文。
公共字段静态成员 Debugging_string 指定用户调试的上下文。
公共字段静态成员 DesignMode_guid 指定 IDE 在设计模式下的上下文。
公共字段静态成员 DesignMode_string 指定 IDE 在设计模式下的上下文。
公共字段静态成员 Dragging_guid 指定时,会发生拖动到 解决方案资源管理器项时的上下文。
公共字段静态成员 Dragging_string 指定时,会发生拖动到 解决方案资源管理器项时的上下文。
公共字段静态成员 EmptySolution_guid 指定空解决方案已加载的上下文。
公共字段静态成员 EmptySolution_string 指定空解决方案已加载的上下文。
公共字段静态成员 FirstLaunchSetup_guid
公共字段静态成员 FirstLaunchSetup_string
公共字段静态成员 FSharpProject_guid 指定 F# 项目为活动的上下文。
公共字段静态成员 FSharpProject_string 指定 F# 项目为活动的上下文。
公共字段静态成员 FullScreenMode_guid 指定是活动的上下文, IDE 在 " 全屏 " 模式时。
公共字段静态成员 FullScreenMode_string 指定是活动的上下文,在 " 全屏 " 模式时。
公共字段静态成员 HistoricalDebugging_guid 指定历史调试处于活动状态的上下文。
公共字段静态成员 HistoricalDebugging_string 指定调试处于活动状态的上下文。
公共字段静态成员 NoSolution_guid 指定解决方案不加载的上下文。
公共字段静态成员 NoSolution_string 指定解决方案不加载的上下文。
公共字段静态成员 NotBuildingAndNotDebugging_guid 指定解决方案未生成还未调试的上下文。
公共字段静态成员 NotBuildingAndNotDebugging_string 指定解决方案未生成还未调试的上下文。
公共字段静态成员 OsWindows8OrHigher_guid
公共字段静态成员 OsWindows8OrHigher_string
公共字段静态成员 ProjectRetargeting_guid 指定项目重定目标的上下文。
公共字段静态成员 ProjectRetargeting_string 指定项目重定目标的上下文。
公共字段静态成员 PropertyPageDesigner_guid 指定属性页设计器处于活动状态的上下文。
公共字段静态成员 PropertyPageDesigner_string 指定属性页设计器处于活动状态的上下文。
公共字段静态成员 RESXEditor_guid 指定 windows 窗体资源编辑器处于活动状态的上下文。
公共字段静态成员 RESXEditor_string 指定 windows 窗体资源编辑器处于活动状态的上下文。
公共字段静态成员 SettingsDesigner_guid 指定设置设计器处于活动状态的上下文。
公共字段静态成员 SettingsDesigner_string 指定设置设计器处于活动状态的上下文。
公共字段静态成员 SolutionBuilding_guid 指定项目或解决方案当前生成的上下文。
公共字段静态成员 SolutionBuilding_string 指定项目或解决方案当前生成的上下文。
公共字段静态成员 SolutionExists_guid 指定解决方案已加载的上下文。
公共字段静态成员 SolutionExists_string 指定解决方案已加载的上下文。
公共字段静态成员 SolutionExistsAndFullyLoaded_guid 指定解决方案完全加载的上下文。
公共字段静态成员 SolutionExistsAndFullyLoaded_string 指定解决方案完全加载的上下文。
公共字段静态成员 SolutionExistsAndNotBuildingAndNotDebugging_guid 指定解决方案加载的上下文,但未编译也不进行调试。
公共字段静态成员 SolutionExistsAndNotBuildingAndNotDebugging_string 指定解决方案加载的上下文,但未编译也不进行调试。
公共字段静态成员 SolutionHasAppContainerProject_guid
公共字段静态成员 SolutionHasAppContainerProject_string
公共字段静态成员 SolutionHasMultipleProjects_guid 指定已加载的解决方案包含多个项目的上下文。
公共字段静态成员 SolutionHasMultipleProjects_string 指定已加载的解决方案包含多个项目的上下文。
公共字段静态成员 SolutionHasSingleProject_guid 指定已加载的解决方案包含单个项目的上下文。
公共字段静态成员 SolutionHasSingleProject_string 指定已加载的解决方案包含单个项目的上下文。
公共字段静态成员 SolutionOpening_guid 指定解决方案中打开的上下文。
公共字段静态成员 SolutionOpening_string 指定解决方案中打开的上下文。
公共字段静态成员 SolutionOrProjectUpgrading_guid 指定项目或解决方案已升级的上下文。
公共字段静态成员 SolutionOrProjectUpgrading_string 指定项目或解决方案已升级的上下文。
公共字段静态成员 StandardPreviewerConfigurationChanging_guid
公共字段静态成员 StandardPreviewerConfigurationChanging_string
公共字段静态成员 ToolboxInitialized_guid 指定工具箱初始化的上下文。
公共字段静态成员 ToolboxInitialized_string 指定工具箱初始化的上下文。
公共字段静态成员 ToolboxVisible_guid
公共字段静态成员 ToolboxVisible_string
公共字段静态成员 VBCodeAttribute_guid 指定 Visual Basic 特性是活动的上下文。
公共字段静态成员 VBCodeAttribute_string
公共字段静态成员 VBCodeClass_guid
公共字段静态成员 VBCodeClass_string
公共字段静态成员 VBCodeDelegate_guid
公共字段静态成员 VBCodeDelegate_string
公共字段静态成员 VBCodeEnum_guid
公共字段静态成员 VBCodeEnum_string
公共字段静态成员 VBCodeFunction_guid
公共字段静态成员 VBCodeFunction_string
公共字段静态成员 VBCodeInterface_guid
公共字段静态成员 VBCodeInterface_string
公共字段静态成员 VBCodeNamespace_guid
公共字段静态成员 VBCodeNamespace_string
公共字段静态成员 VBCodeParameter_guid
公共字段静态成员 VBCodeParameter_string
公共字段静态成员 VBCodeProperty_guid
公共字段静态成员 VBCodeProperty_string
公共字段静态成员 VBCodeStruct_guid
公共字段静态成员 VBCodeStruct_string
公共字段静态成员 VBCodeVariable_guid
公共字段静态成员 VBCodeVariable_string
公共字段静态成员 VBProject_guid 指定 Visual Basic 项目打开的上下文。
公共字段静态成员 VBProject_string 指定 Visual Basic 项目打开的上下文。
公共字段静态成员 VBProjOpened_guid 指定 Visual Basic 项目打开的上下文。
公共字段静态成员 VBProjOpened_string 指定 Visual Basic 项目打开的上下文。
公共字段静态成员 VCProject_guid 指定 Visual C++ 项目为活动的上下文。
公共字段静态成员 VCProject_string 指定 Visual C++ 项目为活动的上下文。

页首

备注

有关上下文的更多信息,请参见 UIContextGuidsUIContextGuids80

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio 命名空间