ITextViewLineCollection.GetTextElementSpan(SnapshotPoint) Yöntem

Tanım

Metin öğesi yayılımı verilen arabellek konumunu içeren yayılımı alır.

public:
 Microsoft::VisualStudio::Text::SnapshotSpan GetTextElementSpan(Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition);
public Microsoft.VisualStudio.Text.SnapshotSpan GetTextElementSpan (Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition);
abstract member GetTextElementSpan : Microsoft.VisualStudio.Text.SnapshotPoint -> Microsoft.VisualStudio.Text.SnapshotSpan
Public Function GetTextElementSpan (bufferPosition As SnapshotPoint) As SnapshotSpan

Parametreler

bufferPosition
SnapshotPoint

Arabellek konumu.

Döndürülenler

SnapshotSpan

SnapshotSpanVerilen metin öğesi dizinine karşılık gelir.

Özel durumlar

bufferPosition Bu satırdaki bir konuma karşılık gelmiyor.

Şunlara uygulanır