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
data
Type: Microsoft.ManagementConsole.SharedDataThe data to be pasted.
pasteType
Type: Microsoft.ManagementConsole.DragAndDropVerbThe type of paste operation to be performed.
status
Type: Microsoft.ManagementConsole.SyncStatusThe status information for synchronous operations on the node.
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