Compartir a través de


CaretPosition.BufferPosition Property

Definition

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.

Applies to