Assembly asm = Assembly.Load(xmlSpaceName);
Stream sm = asm.GetManifestResourceStream(xmlSpaceName+"."+className);
System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
xmlDoc.Load(sm);
System.Xml.XmlNode xmlNode1 = xmlDoc.SelectSingleNode(point);
result = xmlNode1.InnerText;
xmlSpaceName 为程序集名称
className 为xml文件名称
时间: 2024-10-22 02:35:15