Element Property
This property provides access to a single element of ABBYY FineReader Engine collection. Each ABBYY FineReader Engine collection uses this property.
Note: This property allows you to access an element of the collection using the [] operator in C#.
Syntax
C++
HRESULT get_Element( int Index, I<ElementType>** Result ); // the "put" method is available only for some collections HRESULT put_Element( int Index, I<ElementType>* Value );
C#
I<ElementType> <CollectionType>( int Index );
Visual Basic .NET
Property Element(Index As Integer) As I<ElementType>
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 obtained from the Count property of the same collection.
- Result
- [out, retval] A variable of type I<ElementType>* that receives a pointer to the interface of the collection element. ElementType is the type of the object forming the collection.
- Value
- [in] Refers to the <ElementType> object. ElementType is the type of the object forming the collection.
Remarks
The table below describes the collections which provide this property and the types of elements in the collections:
See also
17.09.2024 15:14:40