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



Accusoft.FormFixSdk Namespace > OmrSegmentModelCollection Class : Insert Method
The zero-based index where this method will place the element. If the value of this parameter is equal to the original number of elements in the collection, this method will perform the same operation as the Add method.
The element to search for in the collection.
Inserts an element into the collection.
Syntax
'Declaration
 
Public Sub Insert( _
   ByVal index As Integer, _
   ByVal value As OmrSegmentModel _
) 
'Usage
 
Dim instance As OmrSegmentModelCollection
Dim index As Integer
Dim value As OmrSegmentModel
 
instance.Insert(index, value)
public void Insert( 
   int index,
   OmrSegmentModel value
)
public:
void Insert( 
   int index,
   OmrSegmentModel^ value
) 

Parameters

index
The zero-based index where this method will place the element. If the value of this parameter is equal to the original number of elements in the collection, this method will perform the same operation as the Add method.
value
The element to search for in the collection.
Exceptions
ExceptionDescription
Indicates that the element is null. This method will not add null to the collection.
Remarks
This method implements a standard collection operation. It will insert an element into the collection at the given index. It will move all elements (if any) that follow the newly added element back one place (their indices will be one greater than they were.)
See Also

Reference

OmrSegmentModelCollection Class
OmrSegmentModelCollection Members
Add Method

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