次の方法で共有


DropHandlerBase.InsertText Method

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)

Syntax

'宣言
Protected Overridable Function InsertText ( _
    position As VirtualSnapshotPoint, _
    data As String _
) As Boolean
protected virtual bool InsertText(
    VirtualSnapshotPoint position,
    string data
)
protected:
virtual bool InsertText(
    VirtualSnapshotPoint position, 
    String^ data
)
abstract InsertText : 
        position:VirtualSnapshotPoint * 
        data:string -> bool 
override InsertText : 
        position:VirtualSnapshotPoint * 
        data:string -> bool 
protected function InsertText(
    position : VirtualSnapshotPoint, 
    data : String
) : boolean

Parameters

Return Value

Type: System.Boolean
false if the operation was canceled, otherwise true.

.NET Framework Security

See Also

Reference

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace