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

# BusinessCard オブジェクトの FieldsCountByType プロパティ

> ABBYY FineReader Engine API における BusinessCard オブジェクトの FieldsCountByType プロパティ — 名刺上で指定した型のfield数を返します。

このプロパティは、名刺上の指定した型のfieldの数を示します。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

```cpp theme={null}
HRESULT get_FieldsCountByType(
   BusinessCardFieldTypeEnum Type,
   int*                      Result
);
```

### C\#

```csharp theme={null}
int get_FieldsCountByType( BusinessCardFieldTypeEnum Type );
```

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

```vb theme={null}
ReadOnly Property FieldsCountByType(Type As BusinessCardFieldTypeEnum) As Integer
```

<div id="parameters">
  ## パラメーター
</div>

Type

\[in] field の型を指定します。[BusinessCardFieldTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/businesscardfieldtypeenum) 定数の説明を参照してください。

Result

\[out, retval] 名刺上にある、指定された型の field 数を返します。

<div id="return-values">
  ## 戻り値
</div>

この関数には固有の戻り値はありません。返される値は、[ABBYY FineReader Engine 関数の標準戻り値](/ja/fine-reader/engine/api-reference/return-codes)です。

<div id="see-also">
  ## 関連項目
</div>

[BusinessCard](/ja/fine-reader/engine/api-reference/document-related-objects/businesscard)

[Properties の操作](/ja/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
