Share via


CaretPositionChangedEventArgs Constructor

Initializes a new instance of CaretPositionChangedEventArgs.

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

Syntax

'Declaration
Public Sub New ( _
    textView As ITextView, _
    oldPosition As CaretPosition, _
    newPosition As CaretPosition _
)
public CaretPositionChangedEventArgs(
    ITextView textView,
    CaretPosition oldPosition,
    CaretPosition newPosition
)
public:
CaretPositionChangedEventArgs(
    ITextView^ textView, 
    CaretPosition oldPosition, 
    CaretPosition newPosition
)
new : 
        textView:ITextView * 
        oldPosition:CaretPosition * 
        newPosition:CaretPosition -> CaretPositionChangedEventArgs
public function CaretPositionChangedEventArgs(
    textView : ITextView, 
    oldPosition : CaretPosition, 
    newPosition : CaretPosition
)

Parameters

.NET Framework Security

See Also

Reference

CaretPositionChangedEventArgs Class

Microsoft.VisualStudio.Text.Editor Namespace