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

NameDescription
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
Show: