📅  最后修改于: 2022-03-11 14:48:44.978000             🧑  作者: Mango
XmlNodeList nodeList=
(infodoc.SelectNodes("configuration/Settings/directory"));
foreach (XmlNode elem in nodeList)
{
string strValue = elem.Attributes[1].Value;
}