你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DocumentIntelligenceModelFactory.DocumentSection 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.
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.