这是一个通用方法。任何特定平台的实现限制将在使用此方法的对象的主题中列出。
此方法提供对 FineReader Engine 集合中单个元素的访问。每个 FineReader Engine 集合都使用此方法。
HRESULT Item(
int Index,
I<ElementType>** Result
);
I<ElementType> Item( int Index );
Function Item(Index As Integer) As I<ElementType>
Index
[in] 此变量包含通过此方法访问的元素索引。它必须在 0 到元素数量减 1 的范围内,其中元素数量可通过同一集合的 Count 属性获取。
Result
[out, retval] 一个类型为 I<ElementType>* 的变量,用于接收指向集合元素接口的指针。ElementType 是构成该集合的对象类型。
此方法没有特定的返回值。它会返回 ABBYY FineReader Engine 函数的标准返回值。
下表列出了提供此方法的集合,以及这些集合中的元素类型:
Element
使用集合