ResultsDerivedField Class
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(stringline1,stringline2,stringline3,stringcity,stringstateCountyProvince,stringcountry,stringzipCode) - Returns a list ofResultsDerivedFieldobjects that fill in the derived parts for an AddressResultsValue. The output of this method can be assigned directly to aResultsValue'sDerivedFieldsproperty.CreateDerivedFieldsForDate(intday,intmonth,intyear) - Returns a list ofResultsDerivedFieldobjects that fill in the derived parts for an DateResultsValue. The output of this method can be assigned directly to aResultsValue'sDerivedFieldsproperty.CreateDerivedFieldsForName(stringgivenName,stringmiddleName,stringlastName) - Returns a list ofResultsDerivedFieldobjects that fill in the derived parts for an NameResultsValue. The output of this method can be assigned directly to aResultsValue'sDerivedFieldsproperty.CreateDerivedFieldsForNumber(floatvalue) - Returns a list ofResultsDerivedFieldobjects that fill in the derived parts for an NumberResultsValue. The output of this method can be assigned directly to aResultsValue'sDerivedFieldsproperty.
Methods
ResultsDerivedField(stringfieldId,stringvalue) - Initializes a new instance of theResultsDerivedFieldclass and sets the values according to the provided arguments.
Properties
FieldIdstring- The derived part name.Valuestring- The reported value for the given derived part.