그것은 다음과 같습니다
List<object> items = new List<object>();
List<ItemsChoiceType37> itemChoices = new List<ItemsChoiceType37>();
//Author
items.Add("Author name");
itemChoices.Add(ItemsChoiceType37.Author);
items.Add(description);
itemChoices.Add(ItemsChoiceType37.Description);
//Width
items.Add("11in");
itemChoices.Add(ItemsChoiceType37.Width);
.
.
.
Report report = new Report();
report.Items = items.ToArray();
report.ItemsElementName = itemChoices.ToArray();
나는 그것이 당신을 도울 수 있기를 바랍니다
출처
https://stackoverflow.com/questions/2006086