ITextSelection::GetSelectionOnTextViewLine Method (ITextViewLine^)

 

Get the selection on the specified ITextViewLine.

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

Nullable<VirtualSnapshotSpan> GetSelectionOnTextViewLine(
	ITextViewLine^ line
)

Parameters

line
Type: Microsoft.VisualStudio.Text.Formatting::ITextViewLine^

Line for which to get the selection.

Return Value

Type: System::Nullable<VirtualSnapshotSpan>

The selection on line.

Return to top
Show: