Skip to main content
This is a common method. Any platform-specific implementation limitations will be listed in the topics for the objects using this method.
This method creates a new object of the collection element type and adds it to the collection. The properties of the newly added object have default values.

Syntax

C++

HRESULT AddNew( I<ElementType>** Result );

C#

<ElementType> AddNew();

Visual Basic .NET

Function AddNew() As <ElementType>

Parameters

Result [out, retval] A pointer to I<ElementType>* pointer variable that receives the interface pointer of the added object.

Return values

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

Remarks

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

See also

Working with Collections