Partager via


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)

Syntax

'Declaration
<GuidAttribute("56870613-AB44-40B6-8125-F0D82D566C26")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsSolutionUIEvents
[GuidAttribute("56870613-AB44-40B6-8125-F0D82D566C26")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionUIEvents
[GuidAttribute(L"56870613-AB44-40B6-8125-F0D82D566C26")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsSolutionUIEvents
[<GuidAttribute("56870613-AB44-40B6-8125-F0D82D566C26")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionUIEvents =  interface end
public interface IVsSolutionUIEvents

The IVsSolutionUIEvents type exposes the following members.

Methods

  Name Description
Public method OnFilterAsyncLoadCompleted Called when a filter has finished its asynchronous initialization.
Public method OnFilterAsyncLoadStarted Called after a filter has been created and is starting to be initialized.
Public method OnFilterChanged Called when a filter is enabled or disabled.

Top

Remarks

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)

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace