儿童XElement索引

Nic*_*ick 5 c# xml linq xelement

鉴于XElement有没有办法在父容器中找出该元素的索引?

我知道一定有,但我无法理解!

谢谢!

dah*_*byk 10

尝试 e.ElementsBeforeSelf().Count()