Add Method (COM-based API)
This method adds a new element at the end of the collection.
Visual Basic Syntax
Method Add(
item As <CollectionType>
)
C++ Syntax
HRESULT Add(
<CollectionType> item
);
Parameters
item
[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++) |
| DocumentAttributes | DocumentAttribute/IDocumentAttribute* |
| DocumentTypes | DocumentType/IDocumentType* |
| IndexingFields | IndexingField/IIndexingField* |
| InputFiles | InputFile/IInputFile* |
| OutputFormatSettingsCollection | OutputFormatSettings/IOutputFormatSettings* |
| StringsCollection | String/BSTR |
Return Values
This method has no specific return values. It returns standard return values of ABBYY FineReader Server COM-based API functions.
See also
See sample: Samples.
26.03.2024 13:49:49