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

# LinkToSection オブジェクト

このオブジェクトは、クラスと文書定義セクションまたはセクションのバリアントとの間のリンクを表します。リンクを設定すると、関連付けられたクラスのページは、指定したセクション内でのみ検出されるようになります。また、セクション内でのページの役割 (最初のページまたは任意のページ) も設定できます。

なお、セクションのバリアントへのリンクは、請求書以外のドキュメント定義でのみサポートされています。請求書プロジェクトで作成できるのは、セクションへのリンクのみです。

## Properties

| **名前** | **型** | **説明** |
| - | - | - |
| **PageRole** | [**PageRoleEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/pageroleenum.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | ページをセクションの先頭ページに限定するか、セクション内の任意のページとするかを指定します。 |
| **Section** | [**SectionDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/sectiondefinition.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | Document Definition のセクションを指定します。 |
| **VariantName** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | セクションのバリアントの名前を格納します。請求書プロジェクトでは使用できません。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/LinkToSection.gif?s=c20c299380812477f1346d908c72bb50)

## 出力パラメーター

このオブジェクトは、[**LinksToSections**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linkstosections.md) オブジェクトの [**AddNew**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linkstosections-addnew.md) メソッドおよび [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) メソッドの出力パラメーターです。

## 入力パラメーター

このオブジェクトは、[**LinksToSections**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linkstosections.md) オブジェクトの [**Delete**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/delete.md) メソッドの入力パラメーターです。

## サンプル

このオブジェクトは、次のコード サンプルで使用されています：[分類](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#classification)。

## 関連項目

[**LinksToSections**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/linkstosections.md)

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
