メインコンテンツへスキップ

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

これは共通メソッドです。プラットフォーム固有の実装上の制限がある場合は、このメソッドを使用するオブジェクトのトピック冒頭に記載されます。
このメソッドは、既存のオブジェクトをコレクションの末尾に追加します。

構文

C++

HRESULT Add( I<ElementType>* Value );

C#

void Add( I<ElementType> Value );

Visual Basic .NET

Sub Add(Value As I<ElementType>)

パラメーター

Value [in] 新しく追加された要素です。ElementType は、コレクションを構成するオブジェクトの型です。

戻り値

このメソッドに固有の戻り値はありません。代わりに、ABBYY FineReader Engine 関数の標準戻り値が返されます。

注記

次のテーブルでは、このメソッドを提供するコレクションと、それぞれのコレクションに含まれる要素の型を示します。
コレクション型要素の型
ClassificationObjectsClassificationObject
IntsCollectionint
OfficeConverters

注: このコレクションは Windows および Linux で実装されています。
OfficeConverterTypeEnum
RegionsCollectionRegion
SpellReplacementCollection

注: このコレクションは Windows で使用できます。
SpellReplacement
StringsCollectionBSTR
TrainingImagesCollectionTrainingImage

サンプル

 
for( int i = 0; i < Document.Pages.Count; i++ )
{
 if( Document.Pages[i].PageStructureOutOfDate )
 {
  pageIndices.Add( i );
 }
}
このメソッドは、次のコード サンプルで使用されています。VisualComponents (Win)。

関連項目

コレクションの操作