共用方式為


DataRepeaterAddRemoveItemsCancelEventHandler Delegate

Represents the method that handles the DeletingItems and UserDeletingItems events.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'宣告
Public Delegate Sub DataRepeaterAddRemoveItemsCancelEventHandler ( _
    sender As Object, _
    e As DataRepeaterAddRemoveItemsCancelEventArgs _
)
public delegate void DataRepeaterAddRemoveItemsCancelEventHandler(
    Object sender,
    DataRepeaterAddRemoveItemsCancelEventArgs e
)
public delegate void DataRepeaterAddRemoveItemsCancelEventHandler(
    Object^ sender, 
    DataRepeaterAddRemoveItemsCancelEventArgs^ e
)
type DataRepeaterAddRemoveItemsCancelEventHandler = 
    delegate of 
        sender:Object * 
        e:DataRepeaterAddRemoveItemsCancelEventArgs -> unit
JScript does not support delegates.

Parameters

Remarks

In Visual Basic, you do not have to work with this delegate explicitly.

See Also

Reference

Microsoft.VisualBasic.PowerPacks Namespace

DeletingItems

UserDeletingItems

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)