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