Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)
Usage
Visual Basic |
---|
Dim data As SharedData Dim pasteType As DragAndDropVerb Dim status As SyncStatus Dim returnValue As Boolean returnValue = Me.OnPaste(data, pasteType, status) |
Syntax
Visual Basic |
---|
Protected Overrides Function OnPaste ( _ data As SharedData, _ pasteType As DragAndDropVerb, _ status As SyncStatus _ ) As Boolean |
C# |
---|
protected override bool OnPaste ( SharedData data, DragAndDropVerb pasteType, SyncStatus status ) |
C++ |
---|
protected: virtual bool OnPaste ( SharedData^ data, DragAndDropVerb pasteType, SyncStatus^ status ) override |
J# |
---|
protected boolean OnPaste ( SharedData data, DragAndDropVerb pasteType, SyncStatus status ) |
JScript |
---|
protected override function OnPaste ( data : SharedData, pasteType : DragAndDropVerb, status : SyncStatus ) : boolean |
Parameters
- data
-
[in] Microsoft.ManagementConsole.SharedData object for the pasted data.
- pasteType
-
[in] Microsoft.ManagementConsole.DragAndDropVerb enumeration value.
- status
-
[in] Microsoft.ManagementConsole.SyncStatus object.
Return Value
true if the paste action is successful; otherwise false.Exceptions
Exception type | Condition |
---|---|
NotImplementedException |
The method is not implemented. |
Remarks
Your application must override this method in a derived class.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.