> ## 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.

# Ifields

***

title: "IFields"
description: "FlexiCapture スクリプトの IFields コレクション。IField オブジェクトを管理し、AddNew と Delete を使用して、繰り返しfieldやテーブルの行のインスタンスを追加または削除します。"
keywords: \["IFields", "IField", "fieldコレクション", "AddNew", "Delete メソッド", "繰り返しfield", "テーブルの行", "スクリプトオブジェクトモデル", "ABBYY FlexiCapture"]
\---"

<div id="what-it-does">
  ## 機能
</div>

[IField](/ja/flexi-capture/appendix/scripts/ifield) オブジェクトのコレクションです。

<div id="methods">
  ## メソッド
</div>

<table width="100%"><thead><tr><th style={{textAlign: 'left'}}><p><strong>定義</strong></p></th><th style={{textAlign: 'left'}}><p><strong>説明</strong></p></th></tr></thead><tbody><tr><td><p>AddNew( insertAt : int )</p></td><td><p>繰り返しfieldの新しいインスタンスを挿入します。<strong>insertAt</strong> パラメーターは、コレクション内で新しいインスタンスを挿入する位置を指定します。このメソッドを使用すると、region なしでテーブルブロック用の string を作成できます。</p><p>スクリプトルールでは使用できません。</p><details><summary>コード例</summary><pre><code>Document.Field( "Page 1\Address" ).Items.AddNew( 0 );</code></pre></details></td></tr><tr><td><p>Delete( what : Object )</p></td><td><p>field のインスタンスまたはテーブルの行を削除します。<strong>what</strong> パラメーターには、コレクションから削除するアイテム、またはその index を指定できます。</p><p>スクリプトルールでは使用できません。</p></td></tr></tbody></table>
