需要能够将元素从 True 更改为 False
For Each item In CheckedListBox1.CheckedItems
Dim appQuery = _
From c In doc.<applications>.<app> _
Where c.<appName>.Value = item _
Select c.<appName>, c.<appfav>
For Each result In appQuery
result.appfav.Value = False
Next
Next
doc.Save(xmlFilePath)
我没看到什么?