ActiveReports 12
Insert Method (DataValueCollection)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > DataValueCollection Class : Insert Method
A zero-based Integer indicating the position at which to insert the DataValue object.
The object to insert. The value can be null for reference types.
Inserts a new DataValue object into the DataValueCollection at the specified location.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal item As DataValue _
) 
public void Insert( 
   int index,
   DataValue item
)

Parameters

index
A zero-based Integer indicating the position at which to insert the DataValue object.
item
The object to insert. The value can be null for reference types.
Exceptions
ExceptionDescription
index is less than zero.-or-index is greater than Count.
See Also

Reference

DataValueCollection Class
DataValueCollection Members