Accusoft.FormDirector3.Net - Updated
Insert Method (FieldCollection)




Accusoft.FormDirectorSdk Namespace > FieldCollection Class : Insert Method
The zero-based index in the collection at which point the new Field 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 Field to insert into the collection.
Inserts a Field into the collection
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As Field _
) 
'Usage
 
Dim instance As FieldCollection
Dim index As Integer
Dim value As Field
 
instance.Insert(index, value)
public void Insert( 
   int index,
   Field value
)
public: void Insert( 
   int index,
   Field* value
) 
public:
void Insert( 
   int index,
   Field^ value
) 

Parameters

index
The zero-based index in the collection at which point the new Field 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 Field to insert into the collection.
Remarks

This method implements a standard collection operation. It will insert a Field object into the collection at the given index. It will move all Field 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

FieldCollection Class
FieldCollection Members