ParsedResultItem Class
The ParsedResultItem
class represents a parsed result item generated by code parser engine.
Definition
Namespace: Dynamsoft.DCP
Assembly: Dynamsoft.CodeParser.dll
Inheritance: CapturedResultItem -> ParsedResultItem
public class ParsedResultItem
Methods
Method | Description |
---|---|
Dispose |
Releases all resources used by the ParsedResultItem object. |
GetCodeType |
Gets the code type of the parsed result. |
GetFieldValue |
Gets the value of a specified field from the parsed result. |
GetFieldMappingStatus |
Gets the mapping status of a specified field from the parsed result. |
GetFieldValidationStatus |
Gets the validation status of a specified field from the parsed result. |
GetJsonString |
Gets the parsed result as a JSON formatted string. |
GetCapturedResultItemType |
Gets the type of the captured result item. |
GetReferenceItem |
Gets the referenced item in the captured result item. |
Dispose
Releases all resources used by the ParsedResultItem
object.
void Dispose()
GetCodeType
Gets the code type of the parsed result.
string GetCodeType()
Return Value
Returns a string value representing the code type.
GetFieldValue
Gets the value of a specified field from the parsed result.
string GetFieldValue (string fieldName)
Parameters
[in] fieldName
The name of the field.
Return Value
Returns a string representing the specified field value.
GetFieldMappingStatus
Gets the mapping status of a specified field from the parsed result.
EnumMappingStatus GetFieldMappingStatus(string fieldName)
Parameters
[in] fieldName
The name of the field.
Return Value
Returns an EnumMappingStatus
value representing the mapping status of a specified field.
See Also
GetFieldValidationStatus
Gets the validation status of a specified field from the parsed result.
EnumValidationStatus GetFieldValidationStatus(string fieldName)
Parameters
[in] fieldName
The name of the field.
Return Value
Returns an EnumValidationStatus
value representing the validation status of a specified field.
See Also
GetJsonString
Gets the parsed result as a JSON formatted string.
string GetJsonString()
Return Value
Returns a JSON formatted string representing the full parsed result.
GetCapturedResultItemType
Gets the type of the captured result item.
EnumCapturedResultItemType GetCapturedResultItemType()
Return Value
Returns the type of the captured result item.
See Also
GetReferenceItem
Gets the referenced item in the captured result item.
CapturedResultItem GetReferenceItem()
Return Value
Returns the referenced item in the captured result item.
See Also