Source::ProcessHiddenRegions Method (ArrayList^)

 

Updates all hidden regions based on the given list of hidden regions.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void ProcessHiddenRegions(
	ArrayList^ hiddenRegions
)

Parameters

hiddenRegions
Type: System.Collections::ArrayList^

An ArrayList of IVsHiddenRegion objects describing new hidden regions to add.

This method is called to update all hidden regions in the source with the list of new regions.

The base method does nothing if the OutliningEnabled property returns false. Otherwise, the base method merges the new list with the existing list and forces a refresh of the view. The existing list of hidden regions is obtained from the IVsHiddenTextSession returned from the GetHiddenTextSession method.

See Outlining (Managed Package Framework) for more information about hidden regions.

Return to top
Show: