Property Value
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Value
Gets the extracted value.
public object Value { get; }
Property Value
- object
The extracted value of this element, which can be of various types such as string, int, DateTime, or arrays of objects.
Examples
// Accessing the extracted value
var value = resultElement.Value;
if (value is string stringValue)
{
Console.WriteLine($"Extracted String Value: {stringValue}");
}
else if (value is int intValue)
{
Console.WriteLine($"Extracted Integer Value: {intValue}");
}
// Handle other types accordingly
Remarks
The type of the value depends on the extraction configuration specified in the TextExtractionElement.