Method Get
- Namespace
 - LMKit.Extraction
 
- Assembly
 - LM-Kit.NET.dll
 
Get(string)
Returns the first matching element by name or exact path. Throws if not found.
public TextExtractionResultElement Get(string nameOrPath)
Parameters
nameOrPathstringElement name (e.g., "Total") or exact path (e.g., "Lines[0].Price").
Returns
- TextExtractionResultElement
 The matching TextExtractionResultElement.
Examples
var el = result.Get("Customer.Address.City");
Console.WriteLine(el.Value);
Exceptions
- KeyNotFoundException
 Thrown when the element cannot be found or is ambiguous.