Freigeben über


ITextViewLineCollection.ContainsBufferPosition-Methode

Bestimmt, ob die angegebene Pufferposition in einem der ITextViewLine-Objekte in der Auflistung enthalten ist.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Function ContainsBufferPosition ( _
    bufferPosition As SnapshotPoint _
) As Boolean
bool ContainsBufferPosition(
    SnapshotPoint bufferPosition
)
bool ContainsBufferPosition(
    SnapshotPoint bufferPosition
)
abstract ContainsBufferPosition : 
        bufferPosition:SnapshotPoint -> bool
function ContainsBufferPosition(
    bufferPosition : SnapshotPoint
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn bufferPosition in einem der ITextViewLine-Objekte enthalten ist, andernfalls false.

Hinweise

Diese Methode behandelt die besondere Verarbeitung erforderlich für die letzte Zeile im Puffer.

.NET Framework-Sicherheit

Siehe auch

Referenz

ITextViewLineCollection Schnittstelle

Microsoft.VisualStudio.Text.Editor-Namespace