Add Method of Collection Objects

This method adds an element at the end of the collection. The method adds a reference to an existing object.

Syntax

Visual Basic .NET

Sub Add(Value As <CollectionType>)
    

C++

HRESULT Add(
  <CollectionType> Value
);
    

Parameters

Value
[in] This parameter contains the newly added element. Its type depends on the type of collection and is described in the following table:
Collection type Element type (Visual Basic/C++)
BlockTypesCollection BlockTypeEnum/BlockTypeEnum
FieldDefinitionsCollection FieldDefinition/IFieldDefinition*
FieldValuesCollection FieldValue/IFieldValue*
IntsCollection Integer/int
RegionsCollection String/BSTR
SectionDefinitionsCollection SectionDefinition/ISectionDefinition*
StringsCollection String/BSTR
TextsCollection Text/IText

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.