Element Property

This property provides access to a single element of an ABBYY FlexiCapture SDK collection.

Note: This property allows you to access an element of the collection using the [] operator in C#.

Syntax

Visual Basic .NET

Property Element(Index As Integer) As <ObjectType>
    

C++

HRESULT get_Element(
  int               Index,
  <InterfaceType>** Result
);
// the "put" method is available only for some collections
HRESULT put_Element(
  int             Index,
  I<ElementType>* Value
);
    

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 the 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. InterfaceType is the type of the interface of the objects forming the collection.

Remarks

The following collection objects have this property:

See also

Count

Item

Working with Collections

Working with Properties

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.