InsertAt Method of the Collection Objects

This method inserts a new element at the specified position in the collection.

Syntax

Visual Basic .NET

Sub InsertAt( _
  Value As <CollectionType>, _
  Index As Integer _
)
    

C++

HRESULT InsertAt(
  <CollectionType> Value,
  int              Index
);
    

Parameters

Value
[in] This parameter contains the newly inserted element. Its type depends on the type of collection and is described in the following table:
Collection type Element type (Visual basic/C++)
StringsCollection String/BSTR
IntsCollection Integer/int
Index
[in] This parameter specifies the index of the newly inserted element. If the element is inserted in place of the existing element, the elements of the collection are shifted to the right. The element may also be inserted at the end of collection, in which case the value of this parameter must be equal to the value of the Count property.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Working with Collections

8/15/2023 1:19:30 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.