共用方式為


IVsSelectionEvents Members

Include Protected Members
Include Inherited Members

Notifies registered VSPackages of changes to the current selection, element value, or command UI context.

The IVsSelectionEvents type exposes the following members.

Methods

  Name Description
Public method OnCmdUIContextChanged Reports that the command UI context has changed.
Public method OnElementValueChanged Reports that an element value has changed.
Public method OnSelectionChanged Reports that the project hierarchy, item and/or selection container has changed.

Top

See Also

Reference

IVsSelectionEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace