var attrValue = from a in (
from x in root.Descendants() select x //根节点下所有的Element
).Attributes() //获得每个Element的Attribute
select a.Value;
renmin |
|
||
常常被别人以为是高手 |
Copyright © 2024 旻
Powered by .NET 8.0 on Kubernetes |