Share via


CaretPosition.VirtualSpaces Property

Gets the number of spaces past the physical end of the line of the caret position.

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

Syntax

'Declaration
Public ReadOnly Property VirtualSpaces As Integer
public int VirtualSpaces { get; }
public:
property int VirtualSpaces {
    int get ();
}
member VirtualSpaces : int
function get VirtualSpaces () : int

Property Value

Type: System.Int32
The number of virtual spaces past the physical end of the line.

.NET Framework Security

See Also

Reference

CaretPosition Structure

Microsoft.VisualStudio.Text.Editor Namespace