AuthoringSink.HiddenRegions Property

Indicates whether hidden regions should be processed during the parse operation.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Declaration
Public ReadOnly Property HiddenRegions As Boolean
public bool HiddenRegions { get; }
public:
property bool HiddenRegions {
    bool get ();
}
member HiddenRegions : bool with get
function get HiddenRegions () : boolean

Property Value

Type: Boolean
Returns true if hidden regions should be processed; otherwise, returns false (ignore hidden regions).

Remarks

This property is queried by the parser to determine if it should deal with hidden regions in this particular execution and if so, store such regions with a call to the AddHiddenRegion method. This property examines the ParseReason interface and returns true if it is Check.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace