CaretPosition.BufferPosition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the position of the caret, corresponding to a gap between two characters in the ITextBuffer of the view.
public:
property Microsoft::VisualStudio::Text::SnapshotPoint BufferPosition { Microsoft::VisualStudio::Text::SnapshotPoint get(); };
public Microsoft.VisualStudio.Text.SnapshotPoint BufferPosition { get; }
member this.BufferPosition : Microsoft.VisualStudio.Text.SnapshotPoint
Public ReadOnly Property BufferPosition As SnapshotPoint
Property Value
The position of the caret.
Remarks
This property gets the buffer position at the end of a line if the caret is positioned in virtual space.