Compartir a través de


AuthoringSink.AddHiddenRegion Method

Include Protected Members
Include Inherited Members

Add a hidden region to the internal list.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddHiddenRegion(NewHiddenRegion) Adds the specified NewHiddenRegion object to the internal hidden regions list.
Public method AddHiddenRegion(TextSpan) Adds a new hidden region to the internal list based on the given TextSpan object.
Public method AddHiddenRegion(TextSpan, String)

Top

Remarks

A hidden region is a span of code that can be removed from view. This is typically used in outlining where sections of code can be hidden or exposed by the user in order to reduce clutter in the editor window. Another example of hidden regions is the #region/#endregion keywords in C# that bracket any arbitrary section of code which allows the user to hide uninteresting code from view.

See Also

Reference

AuthoringSink Class

Microsoft.VisualStudio.Package Namespace