共用方式為


DocumentIntelligenceModelFactory.DocumentSection Method

Definition

Overloads

DocumentSection(IEnumerable<DocumentSpan>, IEnumerable<String>)

Initializes a new instance of DocumentSection.

DocumentSection(IEnumerable<DocumentSpan>, IEnumerable<String>)

Source:
DocumentIntelligenceModelFactory.cs

Initializes a new instance of DocumentSection.

public static Azure.AI.DocumentIntelligence.DocumentSection DocumentSection (System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default, System.Collections.Generic.IEnumerable<string> elements = default);
static member DocumentSection : seq<Azure.AI.DocumentIntelligence.DocumentSpan> * seq<string> -> Azure.AI.DocumentIntelligence.DocumentSection
Public Shared Function DocumentSection (Optional spans As IEnumerable(Of DocumentSpan) = Nothing, Optional elements As IEnumerable(Of String) = Nothing) As DocumentSection

Parameters

spans
IEnumerable<DocumentSpan>

Location of the section in the reading order concatenated content.

elements
IEnumerable<String>

Child elements of the section.

Returns

A new DocumentSection instance for mocking.

Applies to