IVsSolutionUIEvents.OnFilterChanged(Guid, UInt32, Guid, UInt32) Method

Definition

Called when a filter is enabled or disabled.

public:
 void OnFilterChanged(Guid % pguidOldFilterGoup, System::UInt32 nOldFilterID, Guid % pguidNewFilterGroup, System::UInt32 nNewFilterID);
public void OnFilterChanged (ref Guid pguidOldFilterGoup, uint nOldFilterID, ref Guid pguidNewFilterGroup, uint nNewFilterID);
abstract member OnFilterChanged : Guid * uint32 * Guid * uint32 -> unit
Public Sub OnFilterChanged (ByRef pguidOldFilterGoup As Guid, nOldFilterID As UInteger, ByRef pguidNewFilterGroup As Guid, nNewFilterID As UInteger)

Parameters

pguidOldFilterGoup
Guid

[in] The group to which the old filter belongs.

nOldFilterID
UInt32

[in] The identifier of the old filter.

pguidNewFilterGroup
Guid

[in] The group to which the new filter belongs.

nNewFilterID
UInt32

[in] The identifier of the new filter.

Remarks

The pguidNewFilterGroup and nNewFilterID pair indicate which filter was just turned on while pguidOldFilterGroup and nOldFilterID indicate the filter that was just turned off. To disable a filter without switching to a new filter, pass in Guid.Empty for pguidNewFilterGroup and zero (0) for nNewFilterID.

Applies to