Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Declaration
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
position
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPointPosition at which the data is to be inserted
data
Type: System.StringText to be inserted
Return Value
Type: System.Boolean
false if the operation was canceled, otherwise true.
.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.