File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/ai-services/document-intelligence/quickstarts/includes Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -678,15 +678,15 @@ for (int i = 0; i < result.Documents.Count; i++)
678
678
}
679
679
680
680
if (document .Fields .TryGetValue (" Items" , out DocumentField itemsField )
681
- && itemsField .Type == DocumentFieldType .Array )
681
+ && itemsField .Type == DocumentFieldType .List )
682
682
{
683
- foreach (DocumentField itemField in itemsField .ValueArray )
683
+ foreach (DocumentField itemField in itemsField .ValueList )
684
684
{
685
685
Console .WriteLine (" Item:" );
686
686
687
- if (itemField .Type == DocumentFieldType .Object )
687
+ if (itemField .Type == DocumentFieldType .Dictionary )
688
688
{
689
- IReadOnlyDictionary < string , DocumentField > itemFields = itemField .ValueObject ;
689
+ IReadOnlyDictionary < string , DocumentField > itemFields = itemField .ValueDictionary ;
690
690
691
691
if (itemFields .TryGetValue (" Description" , out DocumentField itemDescriptionField )
692
692
&& itemDescriptionField .Type == DocumentFieldType .String )
You can’t perform that action at this time.
0 commit comments