Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
XDocument.Descendants ()除了在文档中,我似乎找不到任何东西。有没有办法做到这一点?
XDocument.Descendants ()
您正在寻找的可能是XDocument.Elements(). MSDN 参考。
XDocument.Elements()