Source.GetHiddenTextSession Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the hidden region manager if available.
public:
Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession ^ GetHiddenTextSession();
public:
Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession ^ GetHiddenTextSession();
Microsoft::VisualStudio::TextManager::Interop::IVsHiddenTextSession GetHiddenTextSession();
public Microsoft.VisualStudio.TextManager.Interop.IVsHiddenTextSession GetHiddenTextSession ();
member this.GetHiddenTextSession : unit -> Microsoft.VisualStudio.TextManager.Interop.IVsHiddenTextSession
Public Function GetHiddenTextSession () As IVsHiddenTextSession
Returns
If successful, returns an IVsHiddenTextSession object representing the hidden region manager; otherwise returns null
.
Remarks
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.