这是一个通用属性。任何特定于平台的实现限制,都会在使用此属性的对象主题中列出。
借助此属性,可以访问 ABBYY FineReader Engine 集合中的单个元素。每个 ABBYY FineReader Engine 集合都提供此属性。
在 Windows 中,可通过此属性在 C# 中使用 [] 运算符访问集合中的元素。
HRESULT get_Element(
int Index,
I<ElementType>** Result
);
// "put" 方法仅适用于某些 collections
HRESULT put_Element(
int Index,
I<ElementType>* Value
);
I<ElementType> <CollectionType>( int Index );
Property Element(Index As Integer) As I<ElementType>
Index
[in] 此变量包含通过此 method 访问的元素的索引。其取值范围必须为 0 到元素总数减 1,其中元素总数可通过同一 collection 的 Count 属性获取。
Result
[out, retval] 一个类型为 I<ElementType>* 的变量,用于接收指向 collection 元素接口的指针。ElementType 是构成该 collection 的 object type。
Value
[in] 指向 <ElementType> object。ElementType 是构成该 collection 的 object type。
下表说明了哪些集合提供此属性,以及这些集合中元素的类型:
Item
使用集合
使用属性