网友您好, 请在下方输入框内输入要搜索的题目:
Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument()doc.LoadXml("10" &_"Dictionary")You need to remove the discount element from XmlDocument. Which two code segments can you use to achieve this goal? ()
A. Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.FirstChild)
B. Dim root As XmlNode = doc.DocumentElementroot.RemoveChild(root.SelectSingleNode("discount"))
C. doc.RemoveChild(doc.FirstChild)
D. doc.DocumentElement.RemoveChild(doc.FirstChild)
参考答案
更多 “ Your Web site processes book orders. One of the application methods contains the following code segment.Dim doc As New XmlDocument()doc.LoadXml("10" discount))C. doc.RemoveChild(doc.FirstChild)D. doc.DocumentElement.RemoveChild(doc.FirstChild) ” 相关考题
![瑞牛题库 章节练习 历年真题 模拟试卷](http://assets.51tk.com/51_sidebar_right_index.jpg)