這是一個通用屬性。任何平台特定的實作限制將列於使用此屬性的物件相關主題中。
此屬性用來存取 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
使用集合
使用屬性