# ResultsDerivedField Class

> * Namespace: `UiPath.DocumentProcessing.Contracts.Results`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts.Results`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

A public class that represents a formatted value within a reported value. It defines a key-value pair that encapsulates the formatting information for different types of values.

A field of the `Date` type in the `DocumentTaxonomy` file can have the following derived parts: 'Day', 'Month', 'Year'.

A field of the `Number` type in the `DocumentTaxonomy` file can have the following derived part: 'Value'.

A field of the `Name` type in the `DocumentTaxonomy` file can have the following derived parts: 'Given Name', 'Middle Name', 'Last Name'.

A field of the `Address` type in the `DocumentTaxonomy` file can have the following derived parts: 'Address Line 1', 'Address Line 2', 'Address Line 3', 'City', 'State / County / Province', 'Country', 'Zip Postal Code'.

## Members

#### Constructors

* `CreateDerivedFieldsForAddress` (`string` `line1`, `string` `line2`, `string` `line3`, `string` `city`, `string` `stateCountyProvince`, `string` `country`, `string` `zipCode`) - Returns a list of `ResultsDerivedField` objects that fill in the derived parts for an Address `ResultsValue`. The output of this method can be assigned directly to a `ResultsValue`'s `DerivedFields` property.
* `CreateDerivedFieldsForDate` (`int` `day`, `int` `month`, `int` `year`) - Returns a list of `ResultsDerivedField` objects that fill in the derived parts for an Date `ResultsValue`. The output of this method can be assigned directly to a `ResultsValue`'s `DerivedFields` property.
* `CreateDerivedFieldsForName` (`string` `givenName`, `string` `middleName`, `string` `lastName`) - Returns a list of `ResultsDerivedField` objects that fill in the derived parts for an Name `ResultsValue`. The output of this method can be assigned directly to a `ResultsValue`'s `DerivedFields` property.
* `CreateDerivedFieldsForNumber` (`float` `value`) - Returns a list of `ResultsDerivedField` objects that fill in the derived parts for an Number `ResultsValue`. The output of this method can be assigned directly to a `ResultsValue`'s `DerivedFields` property.

## Methods

* `ResultsDerivedField`(`string` `fieldId`, `string` `value`) - Initializes a new instance of the `ResultsDerivedField` class and sets the values according to the provided arguments.

#### Properties

* `FieldId` `string` - The derived part name.
* `Value` `string` - The reported value for the given derived part.
