如何 Linq select 模型 class 在 VB.net 中绑定数据

How to Linq select Model class Bind data in VB.net

如何 Linq select 模型 class 在 VB.net

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