Share via


IVsUIContextManager Interface

Definition

Exposes the VS UI context subsystem.

[System.Runtime.InteropServices.Guid("eceae828-2b6f-48ad-be7d-61b99c2ec466")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIContextManager
[<System.Runtime.InteropServices.Guid("eceae828-2b6f-48ad-be7d-61b99c2ec466")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIContextManager = interface
Public Interface IVsUIContextManager
Attributes

Remarks

This interface is safe to access from any thread except for Microsoft.VisualStudio.Shell.Interop.IVsUIContextManager.SetUIContextState(System.Guid@,System.Boolean) which must occur on the UI thread.

Properties

AreUIContextsAvailable

Returns a value indicating whether the UI context subsystem is available. This is generally true except in UI-less scenarios.

Methods

AdviseSpecificUIContextEvents(IVsUIContextEvents, Guid)
AdviseUIContextEvents(IVsUIContextEvents)

Advises for change events for all UI contexts.

GetUIContextState(Guid)
SetUIContextState(Guid, Boolean)
UnadviseUIContextEvents(UInt32)

Unadvises change events.

Applies to