IVsSolutionUIEvents Interface

Filters events in Solution Explorer.

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

[GuidAttribute("56870613-AB44-40B6-8125-F0D82D566C26")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionUIEvents

The IVsSolutionUIEvents type exposes the following members.

  NameDescription
Public methodOnFilterAsyncLoadCompletedCalled when a filter has finished its asynchronous initialization.
Public methodOnFilterAsyncLoadStartedCalled after a filter has been created and is starting to be initialized.
Public methodOnFilterChangedCalled when a filter is enabled or disabled.
Top

When switching from Filter A to Filter B, the events are fired in the following order:

  1. OnFilterAsyncLoadCompleted(A_FilterGroup, A_FilterID)

    This event is forced to fire if it has not yet fired, but if A had previously finished initialization, it does not fire a second time.

  2. OnFilterChanged(A_FilterGroup, A_FilterID, B_FilterGroup, B_FilterID)

  3. OnFilterAsyncLoadStarted(B_FilterGroup, B_FilterID)

  4. OnFilterAsyncLoadCompleted(B_FilterGroup, B_FilterID)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft