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)

public interface IVsSolutionUIEvents

System_CAPS_pubmethodOnFilterAsyncLoadCompleted(Guid, UInt32)

Called when a filter has finished its asynchronous initialization.

System_CAPS_pubmethodOnFilterAsyncLoadStarted(Guid, UInt32)

Called after a filter has been created and is starting to be initialized.

System_CAPS_pubmethodOnFilterChanged(Guid, UInt32, Guid, UInt32)

Called when a filter is enabled or disabled.

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)

Return to top