Property InnerElements
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
InnerElements
Gets a read-only list of nested TextExtractionElement instances if this element contains inner elements.
public IReadOnlyList<TextExtractionElement> InnerElements { get; }Property Value
- IReadOnlyList<TextExtractionElement>
- A read-only list of child elements representing nested data structures. Returns - nullif the element has no inner elements.
Examples
var person = new TextExtractionElement("Person",
    new[] {
        new TextExtractionElement("FirstName", ElementType.String),
        new TextExtractionElement("LastName", ElementType.String)
    },
    isArray: false);
foreach (var child in person.InnerElements) Console.WriteLine(child.Name);Remarks
This property is populated when the element represents a complex object or an array containing other elements.