共用方式為


AuthoringSink.HiddenRegions Property

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'宣告
Public ReadOnly Property HiddenRegions As Boolean
    Get
'用途
Dim instance As AuthoringSink
Dim value As Boolean

value = instance.HiddenRegions
public bool HiddenRegions { get; }
public:
property bool HiddenRegions {
    bool get ();
}
member HiddenRegions : bool
function get HiddenRegions () : boolean

Property Value

Type: System.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

AuthoringSink Members

Microsoft.VisualStudio.Package Namespace