DropHandlerBase::InsertText Method (VirtualSnapshotPoint, String^)

 

Inserts textual data at the given position.

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

protected:
virtual bool InsertText(
	VirtualSnapshotPoint position,
	String^ data
)

Parameters

position
Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

Position at which the data is to be inserted

data
Type: System::String^

Text to be inserted

Return Value

Type: System::Boolean

false if the operation was canceled, otherwise true.

Return to top
Show: