Property InnerElements
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
InnerElements
Gets the child elements when this element is an object or an array of objects, as defined by InnerElements.
public IReadOnlyList<TextExtractionResultElement> InnerElements { get; }
Property Value
- IReadOnlyList<TextExtractionResultElement>
A read-only list of TextExtractionResultElement. For an array-of-objects each list entry represents one array item; for a plain object each entry corresponds to one declared field. The list is empty when the element is a primitive type with no inner schema.
Examples
// Iterate line items of an invoice
foreach (var line in element.InnerElements)
{
Console.WriteLine($"{line.TextExtractionElement.Name}: {line.Value}");
}