Item Method

This method provides access to a single element of an ABBYY FlexiCapture SDK collection. Each ABBYY FlexiCapture SDK collection uses this method.

Syntax

Visual Basic .NET

Function Item(Index As Integer) As <ObjectType>
    

C++

HRESULT Item(
  int               Index,
  <InterfaceType>** Result
);
    

Parameters

Index
[in] This variable contains the index of the element that is accessed via this method. It must be in the range from 0 to the Number of elements - 1, where the number of elements may be received from the Count property of the same collection.
ObjectType
[out, retval] The type of objects in collection. For example, for the Batches collection this type is Batch.
Result
[out, retval] A variable of type <InterfaceType>* that receives a pointer to the interface of the collection element. Result must not be NULL. *Result is guaranteed to be non-NULL after a successful method call for all collections except Pages. Item method can return NULL if the item of the Pages object is not a Page, but a Document.
InterfaceType is the type of the interface of the objects forming the collection.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

Remarks

The following objects provide this method:

See also

Count

Working with Collections

15.08.2023 13:19:30

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.