DropHandlerBase::MoveText Method (VirtualSnapshotPoint, IList<ITrackingSpan^>^, String^)
Visual Studio 2015
Moves the data from one location to another in the buffer by deleting the selection contents and inserting the specified text at the specified position.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
protected: virtual bool MoveText( VirtualSnapshotPoint position, IList<ITrackingSpan^>^ selectionSpans, String^ data )
Parameters
- position
-
Type:
Microsoft.VisualStudio.Text::VirtualSnapshotPoint
The position at which the data is to be inserted.
- selectionSpans
-
Type:
System.Collections.Generic::IList<ITrackingSpan^>^
A list of tracking spans.
- data
-
Type:
System::String^
The text to be inserted
Show: