다음을 통해 공유


ITextViewLine.IntersectsBufferSpan Method

Determines whether a bufferSpan intersects this text line.

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

Syntax

'Declaration
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: Boolean
true if bufferSpan intersects the text line, otherwise false.

Remarks

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

.NET Framework Security

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace