Share via


ScopeNode.OnPaste Method (SharedData, DragAndDropVerb, SyncStatus)

 

Pastes data into the scope node when the Paste verb is triggered.

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 operation is successful; false otherwise.

See Also

StandardVerbs
ScopeNode Class
Microsoft.ManagementConsole Namespace
How-To Use Standard Verbs

Return to top