Source.MakeBaseSpanVisible Method

Ensures that the given span in the given hidden region is visible.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function MakeBaseSpanVisible ( _
    region As IVsHiddenRegion, _
    span As TextSpan() _
) As Integer
public virtual int MakeBaseSpanVisible(
    IVsHiddenRegion region,
    TextSpan[] span
)
public:
virtual int MakeBaseSpanVisible(
    IVsHiddenRegion^ region, 
    array<TextSpan>^ span
)
abstract MakeBaseSpanVisible : 
        region:IVsHiddenRegion * 
        span:TextSpan[] -> int  
override MakeBaseSpanVisible : 
        region:IVsHiddenRegion * 
        span:TextSpan[] -> int
public function MakeBaseSpanVisible(
    region : IVsHiddenRegion, 
    span : TextSpan[]
) : int

Parameters

Return Value

Type: Int32
If successful, returns S_OK; otherwise, returns an error code. If this method is not implemented, return the E_NOTIMPL field.

Implements

IVsHiddenTextClient.MakeBaseSpanVisible(IVsHiddenRegion, array<TextSpan[])

Remarks

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.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace

Other Resources

Outlining (Managed Package Framework)