Udostępnij za pośrednictwem


Metoda Source.GetPairExtents — (IVsTextView, Int32, Int32, TextSpan%)

Zwraca przedział wskazań między pasujące pary elementów języka.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Składnia

'Deklaracja
Public Overridable Sub GetPairExtents ( _
    textView As IVsTextView, _
    line As Integer, _
    col As Integer, _
    <OutAttribute> ByRef span As TextSpan _
)
public virtual void GetPairExtents(
    IVsTextView textView,
    int line,
    int col,
    out TextSpan span
)

Parametry

Uwagi

Jeśli lokalizacja znajduje się między dwoma elementami par, span zwracane zaczyna się od elementu początkowego i kończy się elementem zamknięcia.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Source Klasa

Przeciążenie GetPairExtents

Przestrzeń nazw Microsoft.VisualStudio.Package