共用方式為


AuthoringSink.ProcessHiddenRegions Property

Indicates whether to update hidden regions.

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 Property ProcessHiddenRegions As Boolean
public bool ProcessHiddenRegions { get; set; }
public:
property bool ProcessHiddenRegions {
    bool get ();
    void set (bool value);
}
member ProcessHiddenRegions : bool with get, set
function get ProcessHiddenRegions () : boolean 
function set ProcessHiddenRegions (value : boolean)

Property Value

Type: Boolean
Returns true if any hidden regions have been added to the list; otherwise, returns false.

Remarks

This property is used by the parser to track whether the hidden regions list kept in the AuthoringSink object has been updated. The parser should initialize this property to false at the start of the parse operation and then set the property to true if the parser ever calls AddHiddenRegion. When the parse operation is complete, this property indicates if any hidden regions were added to the list and therefore the display might need to be updated.

.NET Framework Security

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace