Share via


View.OnCut Method (Object, AsyncStatus)

 

Called so that the snap-in can cut items from the given selection after it has been pasted elsewhere.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected virtual void OnCut(
    object selectionValue,
    AsyncStatus status
)
protected:
virtual void OnCut(
    Object^ selectionValue,
    AsyncStatus^ status
)
abstract OnCut : 
        selectionValue:Object *
        status:AsyncStatus -> unit
override OnCut : 
        selectionValue:Object *
        status:AsyncStatus -> unit
Protected Overridable Sub OnCut (
    selectionValue As Object,
    status As AsyncStatus
)

Parameters

  • selectionValue
    Type: System.Object

    The previous or current selection that has been cut.

Remarks

Modal dialogs should not be shown during any request that takes an AsyncStatus object as a parameter.

See Also

View Class
Microsoft.ManagementConsole Namespace

Return to top