Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
data
Type: Microsoft.ManagementConsole.SharedDataThe data to be pasted.
pasteType
Type: Microsoft.ManagementConsole.DragAndDropVerbThe type of paste or drag and drop operation being performed.
status
Type: Microsoft.ManagementConsole.SyncStatusThe object that holds the status information.
Return Value
Type: System.Boolean
True if the paste was successful; otherwise, false.
See Also
View Class
Microsoft.ManagementConsole Namespace
Return to top