共用方式為


IVsSolutionUIEvents Interface

Definition

Filters events in Solution Explorer.

public interface class IVsSolutionUIEvents
public interface class IVsSolutionUIEvents
__interface IVsSolutionUIEvents
[System.Runtime.InteropServices.Guid("56870613-AB44-40B6-8125-F0D82D566C26")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSolutionUIEvents
[<System.Runtime.InteropServices.Guid("56870613-AB44-40B6-8125-F0D82D566C26")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSolutionUIEvents = interface
Public Interface IVsSolutionUIEvents
Attributes

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)

Methods

OnFilterAsyncLoadCompleted(Guid, UInt32)

Called when a filter has finished its asynchronous initialization.

OnFilterAsyncLoadStarted(Guid, UInt32)

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

OnFilterChanged(Guid, UInt32, Guid, UInt32)

Called when a filter is enabled or disabled.

Applies to