Share via


CaretPosition.VirtualBufferPosition Property

Gets the virtual buffer position as a VirtualSnapshotPoint.

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

Syntax

'Declaration
Public ReadOnly Property VirtualBufferPosition As VirtualSnapshotPoint
public VirtualSnapshotPoint VirtualBufferPosition { get; }
public:
property VirtualSnapshotPoint VirtualBufferPosition {
    VirtualSnapshotPoint get ();
}
member VirtualBufferPosition : VirtualSnapshotPoint with get
function get VirtualBufferPosition () : VirtualSnapshotPoint

Property Value

Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The virtual buffer position.

.NET Framework Security

See Also

Reference

CaretPosition Structure

Microsoft.VisualStudio.Text.Editor Namespace