ExtractionDocument.EnumerateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates non-section content in depth-first document order.
public:
System::Collections::Generic::IEnumerable<Microsoft::Extensions::Documents::ExtractionDocumentElement ^> ^ EnumerateContent();
public System.Collections.Generic.IEnumerable<Microsoft.Extensions.Documents.ExtractionDocumentElement> EnumerateContent();
member this.EnumerateContent : unit -> seq<Microsoft.Extensions.Documents.ExtractionDocumentElement>
Public Iterator Function EnumerateContent () As IEnumerable(Of ExtractionDocumentElement)
Returns
The content elements in document order.
Remarks
This structural traversal does not flatten table cells or return document/section-local payloads. Use the hierarchy to inspect those local payloads and table cells directly. Cyclic section relationships and null entries are rejected when traversed.