Method GetAll
- Namespace
 - LMKit.Extraction
 
- Assembly
 - LM-Kit.NET.dll
 
GetAll(string)
Enumerate all elements that match a name anywhere, or an exact path.
public IReadOnlyList<TextExtractionResultElement> GetAll(string nameOrPath)
Parameters
nameOrPathstringA field name (aggregates by name) or a concrete path to match exactly.
Returns
- IReadOnlyList<TextExtractionResultElement>
 All matching elements, possibly empty.
Examples
// Get all "Price" occurrences anywhere in the result
var allPrices = result.GetAll("Price");
foreach (var p in allPrices) Console.WriteLine(p.As<decimal>());