AuthoringSink::AddHiddenRegion Method (NewHiddenRegion)

 

Adds the specified NewHiddenRegion object to the internal hidden regions list.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual void AddHiddenRegion(
	NewHiddenRegion r
)

Parameters

r
Type: Microsoft.VisualStudio.TextManager.Interop::NewHiddenRegion

[in] A NewHiddenRegion object to add to the list.

A NewHiddenRegion contains a number of flags as well as a TextSpan describing the region to be hidden.

The base method adds the specified region to an internal list. Note that there is no checking for duplicate regions so it is possible to add the same region twice.

Return to top
Show: