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

# FieldByType Property of the BusinessCard Object

This property provides access to a single field of the business card by the type of the field.

## Syntax

### C++

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

### C\#

```csharp theme={null}
IBusinessCardField get_FieldByType(
   BusinessCardFieldTypeEnum Type,
   int                       Index
);
```

### Visual Basic .NET

```vb theme={null}
ReadOnly Property FieldByType( _
  Type As BusinessCardFieldTypeEnum, _
  Index As Integer _
) As IBusinessCardField
```

## Parameters

Type

\[in] Specifies the type of the field. See the description of the [BusinessCardFieldTypeEnum](/fine-reader/engine/api-reference/enumerations/businesscardfieldtypeenum) constants.

Index

\[in] Specifies the index of the field in the internal array of the fields of the same type. Must be in range from 0 to [IBusinessCard::FieldsCountByType](/fine-reader/engine/api-reference/document-related-objects/businesscard/fieldscountbytype-property)-1.

Result

\[out, retval] A pointer to IBusinessCardField\* pointer variable that receives the interface pointer of the output [BusinessCardField](/fine-reader/engine/api-reference/document-related-objects/businesscardfield) object.

## Return values

This function has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

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

[Business Card Recognition](/fine-reader/engine/guided-tour/basic-usage-scenarios-implementation/business-card-recognition)

[Working with Properties](/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
