Partager via


CaretPositionChangedEventArgs.OldPosition Property

Gets the old CaretPosition.

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

Syntax

'Déclaration
Public ReadOnly Property OldPosition As CaretPosition
    Get
public CaretPosition OldPosition { get; }
public:
property CaretPosition OldPosition {
    CaretPosition get ();
}
member OldPosition : CaretPosition
function get OldPosition () : CaretPosition

Property Value

Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
The old caret position.

.NET Framework Security

See Also

Reference

CaretPositionChangedEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace