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

 

Called when a filter is enabled or disabled.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

void OnFilterChanged(
	[InAttribute] Guid% pguidOldFilterGoup,
	unsigned int nOldFilterID,
	[InAttribute] Guid% pguidNewFilterGroup,
	unsigned int nNewFilterID
)

Parameters

pguidOldFilterGoup
Type: System::Guid

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

nOldFilterID
Type: System::UInt32

[in] The identifier of the old filter.

pguidNewFilterGroup
Type: System::Guid

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

nNewFilterID
Type: System::UInt32

[in] The identifier of the new filter.

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.

Return to top
Show: