首页 > 解决方案 > 如何在 VB.net 中 Linq 选择模型类绑定数据

问题描述

如何在 VB.net 中 Linq 选择模型类绑定数据

标签: xmlvb.netrest

解决方案


Dim xe() As XMLClassName = xd.Descendants().Elements().Select(Function(n) New XMLClassName With {.FieldName = n.Attribute("Name").Value, .ValueName = n.Attribute("Value").Value}).ToArray()

推荐阅读