Source.ProcessHiddenRegions Method
Updates all hidden regions based on the given list of hidden regions.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaración
Public Overridable Sub ProcessHiddenRegions ( _
hiddenRegions As ArrayList _
)
public virtual void ProcessHiddenRegions(
ArrayList hiddenRegions
)
Parameters
- hiddenRegions
Type: System.Collections.ArrayList
An ArrayList of IVsHiddenRegion objects describing new hidden regions to add.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Package Namespace