Share via


DropHandlerBase.InsertText(VirtualSnapshotPoint, String) Method

Definition

Inserts some textual data at the given position.

protected:
 virtual bool InsertText(Microsoft::VisualStudio::Text::VirtualSnapshotPoint position, System::String ^ data);
protected virtual bool InsertText (Microsoft.VisualStudio.Text.VirtualSnapshotPoint position, string data);
abstract member InsertText : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * string -> bool
override this.InsertText : Microsoft.VisualStudio.Text.VirtualSnapshotPoint * string -> bool
Protected Overridable Function InsertText (position As VirtualSnapshotPoint, data As String) As Boolean

Parameters

position
VirtualSnapshotPoint

Position at which the data is to be inserted

data
String

Text to be inserted

Returns

True if data insertion was successful, false otherwise.

Applies to