Udostępnij za pośrednictwem


Source.ProcessHiddenRegions Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public Overridable Sub ProcessHiddenRegions ( _
    hiddenRegions As ArrayList _
)
public virtual void ProcessHiddenRegions(
    ArrayList hiddenRegions
)
public:
virtual void ProcessHiddenRegions(
    ArrayList^ hiddenRegions
)
abstract ProcessHiddenRegions : 
        hiddenRegions:ArrayList -> unit 
override ProcessHiddenRegions : 
        hiddenRegions:ArrayList -> unit 
public function ProcessHiddenRegions(
    hiddenRegions : ArrayList
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace

Other Resources

Outlining (Managed Package Framework)