这是一个通用属性。任何特定于平台的实现限制,都会在使用此属性的对象主题中列出。
此属性用于访问 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
使用集合
使用属性