這是通用屬性。任何特定平台的實作限制,都會列在使用此屬性的物件主題中。
此屬性可讓您存取 ABBYY FineReader Engine collection 中的單一元素。每個 ABBYY FineReader Engine collection 都使用此屬性。
在 Windows 中,此屬性可讓您在 C# 中使用 [] 運算子存取 collection 中的元素。
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 存取之元素的 index。其值必須在 0 到元素數量 - 1 的範圍內,其中元素數量可從同一個 collection 的 Count 屬性取得。
Result
[out, retval] 型別為 I<ElementType>* 的變數,用於接收 collection 元素介面的指標。ElementType 是構成該 collection 的 object type。
Value
[in] 表示 <ElementType> object。ElementType 是構成該 collection 的 object type。
下表說明哪些集合提供此屬性,以及這些集合中包含的元素類型:
Item
集合的使用方式
屬性的使用方式