Source.RemoveHiddenRegions Method
Removes all hidden regions from the current view.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Overridable Sub RemoveHiddenRegions
'Usage
Dim instance As Source
instance.RemoveHiddenRegions()
public virtual void RemoveHiddenRegions()
public:
virtual void RemoveHiddenRegions()
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
- 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.