ITextViewLineCollection.GetTextViewLinesIntersectingSpan(SnapshotSpan) Yöntem

Tanım

Kesişen tüm nesneleri alır ITextViewLine bufferSpan .

public:
 System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^> ^ GetTextViewLinesIntersectingSpan(Microsoft::VisualStudio::Text::SnapshotSpan bufferSpan);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.Formatting.ITextViewLine> GetTextViewLinesIntersectingSpan (Microsoft.VisualStudio.Text.SnapshotSpan bufferSpan);
abstract member GetTextViewLinesIntersectingSpan : Microsoft.VisualStudio.Text.SnapshotSpan -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.Formatting.ITextViewLine>
Public Function GetTextViewLinesIntersectingSpan (bufferSpan As SnapshotSpan) As Collection(Of ITextViewLine)

Parametreler

bufferSpan
SnapshotSpan

Yayılma alanı.

Döndürülenler

Collection<ITextViewLine>

ITextViewLineArabellek yayılımını kesişen nesnelerin sıralanmış bir koleksiyonu.

Açıklamalar

Bu, ve içindeki nesneler arasında bir kesişmeyle karşılaşırsanız boş bir liste döndürür ITextViewLine bufferSpan .

Bu yöntem, arabelleğin son satırı için gereken özel işlemeyi işler.

Şunlara uygulanır