AuthoringSink::AddHiddenRegion Method (TextSpan)
Visual Studio 2015
Adds a new hidden region to the internal list based on the given TextSpan object.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
The base method constructs a NewHiddenRegion object that contains the given TextSpan object and calls the other AddHiddenRegion method.
The new NewHiddenRegion object has the following attributes set:
Attribute | Value |
|---|---|
Type | hrtCollapsible (from the HIDDEN_REGION_TYPE enumeration) |
Behavior | hrbEditorControlled (from the HIDDEN_REGION_BEHAVIOR enumeration) |
State | hrsExpanded (from the HIDDEN_REGION_STATE enumeration) |
Banner | null |
Show: