DocumentIntelligenceModelFactory.DocumentListItem 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 DocumentListItem.
public static Azure.AI.DocumentIntelligence.DocumentListItem DocumentListItem (int level = 0, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default, System.Collections.Generic.IEnumerable<string> elements = default);
static member DocumentListItem : int * string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * seq<string> -> Azure.AI.DocumentIntelligence.DocumentListItem
Public Shared Function DocumentListItem (Optional level As Integer = 0, Optional content As String = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing, Optional elements As IEnumerable(Of String) = Nothing) As DocumentListItem
Parameters
- level
- Int32
Level of the list item (1-indexed).
- content
- String
Content of the list item.
- boundingRegions
- IEnumerable<BoundingRegion>
Bounding regions covering the list item.
- spans
- IEnumerable<DocumentSpan>
Location of the list item in the reading order concatenated content.
- elements
- IEnumerable<String>
Child elements of the list item.
Returns
A new DocumentListItem instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for