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

# Fields オブジェクトの FindByName メソッド

このメソッドを使用すると、名前で field を検索できます。

## 構文

```vb Visual Basic .NET theme={null}
Function FindByName(Name As String) As Field
```

```cpp C++ theme={null}
HRESULT FindByName(
  BSTR     Name,
  IField** Result
);
```

## パラメーター

**Name**

\[in] 検索する field の名前を格納する変数です。

**Result**

\[out, retval] field のインターフェースポインターを受け取る [**IField**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/field.md)\*\*\*\*\* 変数へのポインターです。指定した名前の field が見つからない場合は NULL を返します。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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

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