AuthoringSink.ProcessHiddenRegions Property
Indicates whether to update hidden regions.
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
'Déclaration
Public Property ProcessHiddenRegions As Boolean
Get
Set
'Utilisation
Dim instance As AuthoringSink
Dim value As Boolean
value = instance.ProcessHiddenRegions
instance.ProcessHiddenRegions = value
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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.