Compartir a través de


View.OnPaste Method (SharedData, DragAndDropVerb, SyncStatus)

 

Invoked when data is pasted onto the current selection.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected virtual bool OnPaste(
    SharedData data,
    DragAndDropVerb pasteType,
    SyncStatus status
)
protected:
virtual bool OnPaste(
    SharedData^ data,
    DragAndDropVerb pasteType,
    SyncStatus^ status
)
abstract OnPaste : 
        data:SharedData *
        pasteType:DragAndDropVerb *
        status:SyncStatus -> bool
override OnPaste : 
        data:SharedData *
        pasteType:DragAndDropVerb *
        status:SyncStatus -> bool
Protected Overridable Function OnPaste (
    data As SharedData,
    pasteType As DragAndDropVerb,
    status As SyncStatus
) As Boolean

Parameters

Return Value

Type: System.Boolean

True if the paste was successful; otherwise, false.

See Also

View Class
Microsoft.ManagementConsole Namespace

Return to top