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
bufferPosition
Typ: Microsoft.VisualStudio.Text.SnapshotPointDie Pufferposition.
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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.