다음을 통해 공유


CaretPositionChangedEventArgs(ITextView, CaretPosition, CaretPosition) Constructor

Definition

Initializes a new instance of CaretPositionChangedEventArgs.

public:
 CaretPositionChangedEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::Editor::CaretPosition oldPosition, Microsoft::VisualStudio::Text::Editor::CaretPosition newPosition);
 CaretPositionChangedEventArgs(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, Microsoft::VisualStudio::Text::Editor::CaretPosition oldPosition, Microsoft::VisualStudio::Text::Editor::CaretPosition newPosition);
public CaretPositionChangedEventArgs (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.Editor.CaretPosition oldPosition, Microsoft.VisualStudio.Text.Editor.CaretPosition newPosition);
new Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.Editor.CaretPosition * Microsoft.VisualStudio.Text.Editor.CaretPosition -> Microsoft.VisualStudio.Text.Editor.CaretPositionChangedEventArgs
Public Sub New (textView As ITextView, oldPosition As CaretPosition, newPosition As CaretPosition)

Parameters

textView
ITextView

The ITextView that contains the caret.

oldPosition
CaretPosition

The old CaretPosition.

newPosition
CaretPosition

The new CaretPosition.

Applies to