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++)
678678 }
679679
680680 if (document .Fields .TryGetValue (" Items" , out DocumentField itemsField )
681- && itemsField .Type == DocumentFieldType .Array )
681+ && itemsField .Type == DocumentFieldType .List )
682682 {
683- foreach (DocumentField itemField in itemsField .ValueArray )
683+ foreach (DocumentField itemField in itemsField .ValueList )
684684 {
685685 Console .WriteLine (" Item:" );
686686
687- if (itemField .Type == DocumentFieldType .Object )
687+ if (itemField .Type == DocumentFieldType .Dictionary )
688688 {
689- IReadOnlyDictionary < string , DocumentField > itemFields = itemField .ValueObject ;
689+ IReadOnlyDictionary < string , DocumentField > itemFields = itemField .ValueDictionary ;
690690
691691 if (itemFields .TryGetValue (" Description" , out DocumentField itemDescriptionField )
692692 && itemDescriptionField .Type == DocumentFieldType .String )
You can’t perform that action at this time.
0 commit comments