FormFix v6.0 for .NET - Updated
Insert Method (DataItemCollection)



Accusoft.FormDirectorSdk Namespace > DataItemCollection Class : Insert Method
The zero-based index in the collection at which point the new DataItem should be placed. If the value of this parameter is equal to the number of elements in the collection, the object will be appended to the end of the collection.
The DataItem to insert into the collection.
Inserts a DataItem into the collection
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As DataItem _
) 
'Usage
 
Dim instance As DataItemCollection
Dim index As Integer
Dim value As DataItem
 
instance.Insert(index, value)
public void Insert( 
   int index,
   DataItem value
)
public:
void Insert( 
   int index,
   DataItem^ value
) 

Parameters

index
The zero-based index in the collection at which point the new DataItem should be placed. If the value of this parameter is equal to the number of elements in the collection, the object will be appended to the end of the collection.
value
The DataItem to insert into the collection.
Remarks

This method implements a standard collection operation. It will insert a DataItem object into the collection at the given index. It will move all DataItem objects that follow the newly added form (if any) back one place (their indices will be one greater than they were before this method.)

See Also

Reference

DataItemCollection Class
DataItemCollection Members

Is this page helpful?
Yes No
Thanks for your feedback.