Add Method

This method adds an existing object at the end of the collection.



HRESULT Add( I<ElementType>* Value );


void Add( I<ElementType> Value );

Visual Basic .NET

Sub Add(Value As I<ElementType>)


[in] Contains the newly added element. ElementType is the type of the objects forming the collection.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.


The table below describes the collections which provide this method and the types of elements in the collections:

Collection type Element type
ClassificationObjects ClassificationObject
IntsCollection int
OfficeConverters OfficeConverterTypeEnum
RegionsCollection Region
SpellReplacementCollection SpellReplacement
StringsCollection BSTR
TrainingImagesCollection TrainingImage


C# code

The method is used in the following code samples: VisualComponents.

See also

Working with Collections

24.03.2023 8:51:52

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.