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
‘선언
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView that contains the caret.
- oldPosition
Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
The old CaretPosition.
- newPosition
Type: Microsoft.VisualStudio.Text.Editor.CaretPosition
The new CaretPosition.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.