IVsMonitorSelection Methods

 

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

NameDescription
System_CAPS_pubmethodAdviseSelectionEvents(IVsSelectionEvents^, UInt32)

Registers a VSPackage for selection event notification.

System_CAPS_pubmethodGetCmdUIContextCookie(Guid, UInt32)

Registers a command UI context GUID and returns cookie value.

System_CAPS_pubmethodGetCurrentElementValue(UInt32, Object^)

Returns the value for a particular element.

System_CAPS_pubmethodGetCurrentSelection(IntPtr, UInt32, IVsMultiItemSelect^, IntPtr)

Returns the current project hierarchy, project item, and selection container for the current selection.

System_CAPS_pubmethodIsCmdUIContextActive(UInt32, Int32)

Determines whether a specific command UI context is active.

System_CAPS_pubmethodSetCmdUIContext(UInt32, Int32)

Sets the state of the command UI context to active or inactive.

System_CAPS_pubmethodUnadviseSelectionEvents(UInt32)

Cancels a registration for selection event notification.

Return to top
Show: