Compartir a través de


DataRepeaterAddRemoveItemsEventArgs Constructor

Initializes a new instance of the DataRepeaterAddRemoveItemsEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    index As Integer, _
    count As Integer _
)
public DataRepeaterAddRemoveItemsEventArgs(
    int index,
    int count
)
public:
DataRepeaterAddRemoveItemsEventArgs(
    int index, 
    int count
)
new : 
        index:int * 
        count:int -> DataRepeaterAddRemoveItemsEventArgs
public function DataRepeaterAddRemoveItemsEventArgs(
    index : int, 
    count : int
)

Parameters

  • count
    Type: System.Int32

    The number of items being added or deleted.

Remarks

The DataRepeaterAddRemoveItemsEventArgs object contains a property that can be used to determine the index of the DataRepeaterItem that is being added to or removed from a DataRepeater control.

.NET Framework Security

See Also

Reference

DataRepeaterAddRemoveItemsEventArgs Class

Microsoft.VisualBasic.PowerPacks Namespace

ItemsAdded

ItemsRemoved

UserAddedItems

UserDeletedItems

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

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