Source::MakeBaseSpanVisible Method (IVsHiddenRegion^, array<TextSpan>^)
Visual Studio 2015
Ensures that the given span in the given hidden region is visible.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- region
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsHiddenRegion^
An IVsHiddenRegion object representing the hidden region to make visible.
- span
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
A TextSpan object describing the region to be made visible.
Return Value
Type: System::Int32If successful, returns S_OK; otherwise, returns an error code. If this method is not implemented, return the E_NOTIMPL field.
This method makes sure the given hidden region is visible, usually by setting the hidden region's state to hrsExpanded or by removing the hidden region altogether by calling Invalidate.
This is an implementation of the IVsHiddenTextClient's MakeBaseSpanVisible method.
The base method always returns the E_NOTIMPL field.
See Outlining (Managed Package Framework) for more information about hidden regions.
Show: