Partilhar via


ScopeNodeBase.OnPaste Method

Handles a notification that data is pasted onto the scope node.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim data As SharedData
Dim pasteType As DragAndDropVerb
Dim status As SyncStatus
Dim returnValue As Boolean

returnValue = Me.OnPaste(data, pasteType, status)

Syntax

'Declaration
Protected Overrides Function OnPaste ( _
    data As SharedData, _
    pasteType As DragAndDropVerb, _
    status As SyncStatus _
) As Boolean
protected override bool OnPaste (
    SharedData data,
    DragAndDropVerb pasteType,
    SyncStatus status
)
protected:
virtual bool OnPaste (
    SharedData^ data, 
    DragAndDropVerb pasteType, 
    SyncStatus^ status
) override
protected boolean OnPaste (
    SharedData data, 
    DragAndDropVerb pasteType, 
    SyncStatus status
)
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.

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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ScopeNodeBase Class
ScopeNodeBase Members
Microsoft.ConfigurationManagement.AdminConsole Namespace