次の方法で共有


ITextView.DisplayTextLineContainingBufferPosition Method

Include Protected Members
Include Inherited Members

Formats and displays the contents of the text buffer so that the ITextViewLine containing the buffer position is displayed.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DisplayTextLineContainingBufferPosition(SnapshotPoint, Double, ViewRelativePosition) Formats and displays the contents of the text buffer so that the ITextViewLine containing the buffer position is displayed at the desired position.
Public method DisplayTextLineContainingBufferPosition(SnapshotPoint, Double, ViewRelativePosition, Nullable<Double>, Nullable<Double>) Formats and displays the contents of the text buffer so that the ITextViewLine containing the specified buffer position is displayed at the desired position.

Top

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace