다음을 통해 공유


Source.RemoveHiddenRegions Method

Removes all hidden regions from the current view.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.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)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Sub RemoveHiddenRegions
public virtual void RemoveHiddenRegions()
public:
virtual void RemoveHiddenRegions()
abstract RemoveHiddenRegions : unit -> unit  
override RemoveHiddenRegions : unit -> unit
public function RemoveHiddenRegions()

Remarks

This method removes all hidden regions, causing the entire source to be visible.

The base method uses the IVsHiddenTextSession object returned from the GetHiddenTextSession method to enumerate over all hidden regions and mark them as visible.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace