Aracılığıyla paylaş


Source.GetHiddenTextSession Method

Gets the hidden region manager if available.

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

'Bildirim
Public Function GetHiddenTextSession As IVsHiddenTextSession
public IVsHiddenTextSession GetHiddenTextSession()

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.IVsHiddenTextSession
If successful, returns an IVsHiddenTextSession object representing the hidden region manager; otherwise returns nulla null reference (Nothing in Visual Basic).

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.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace