DataRepeaterAddRemoveItemsEventArgs.ItemCount Property
Gets the number of items being added to or deleted from a DataRepeater control.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
Public ReadOnly Property ItemCount As Integer
Get
public int ItemCount { get; }
public:
property int ItemCount {
int get ();
}
member ItemCount : int
function get ItemCount () : int
Property Value
Type: System.Int32
A count of the items.
Remarks
In the current implementation of the DataRepeater control, only one item can be added or deleted at a time. Therefore, this property will always return 1.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataRepeaterAddRemoveItemsEventArgs Class
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)