Source::GetHiddenTextSession Method ()

 

Gets the hidden region manager if available.

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

public:
IVsHiddenTextSession^ GetHiddenTextSession()

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop::IVsHiddenTextSession^

If successful, returns an IVsHiddenTextSession object representing the hidden region manager; otherwise returns null.

The IVsHiddenTextSession object is obtained from Visual Studio. This method is normally not called unless outlining is enabled (the OutliningEnabled property returns true).

The IVsHiddenTextSession manages hidden regions in a source file.

Return to top
Show: