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
15.08.2023 13:19:30