Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the position of the caret, corresponding to a gap between two characters in the ITextBuffer of the view.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Public ReadOnly Property BufferPosition As SnapshotPoint
public SnapshotPoint BufferPosition { get; }
public:
property SnapshotPoint BufferPosition {
SnapshotPoint get ();
}
member BufferPosition : SnapshotPoint
function get BufferPosition () : SnapshotPoint
Property Value
Type: Microsoft.VisualStudio.Text.SnapshotPoint
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.