這是通用屬性。任何特定平台實作上的限制,都會列於使用此屬性的物件主題中。
此屬性可讓您存取 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] 此變數包含透過此 method 存取之元素的索引。其值必須介於 0 到元素數量 - 1 之間,其中元素數量可由相同 collection 的 Count 屬性取得。
Result
[out, retval] 一個型別為 I<ElementType>* 的變數,用來接收 collection 元素介面的指標。ElementType 是構成該 collection 的 object 型別。
Value
[in] 指的是 <ElementType> object。ElementType 是構成該 collection 的 object 型別。
下表列出提供此屬性的集合,以及這些集合中元素的型別:
Item
集合的使用
屬性的使用