다음을 통해 공유


Source.MakeBaseSpanVisible Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.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)

Syntax

‘선언
Public Overridable Function MakeBaseSpanVisible ( _
    region As IVsHiddenRegion, _
    span As TextSpan() _
) As Integer
public virtual int MakeBaseSpanVisible(
    IVsHiddenRegion region,
    TextSpan[] span
)

Parameters

Return Value

Type: System.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)