次の方法で共有


ITextViewLineCollection.IntersectsBufferSpan Method

Determines whether the specified buffer span intersects any of the ITextViewLine objects in the collection.

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

Syntax

'宣言
Function IntersectsBufferSpan ( _
    bufferSpan As SnapshotSpan _
) As Boolean
bool IntersectsBufferSpan(
    SnapshotSpan bufferSpan
)
bool IntersectsBufferSpan(
    SnapshotSpan bufferSpan
)
abstract IntersectsBufferSpan : 
        bufferSpan:SnapshotSpan -> bool 
function IntersectsBufferSpan(
    bufferSpan : SnapshotSpan
) : boolean

Parameters

Return Value

Type: System.Boolean
true if bufferSpan is contained by ones of the ITextViewLine objects, otherwise false.

Remarks

This method handles the special processing required for the last line of the buffer.

.NET Framework Security

See Also

Reference

ITextViewLineCollection Interface

Microsoft.VisualStudio.Text.Editor Namespace