Answers

Question and Answer:

  Home  MCSD.NET - 70-310 Exam

⟩ Suppose You are debugging a visual studio .Net application named XYZApp. The application produces anXml documents object and then consumes the same object. This object moves data in theapplication. The object has no schema, but it contains a declaration line that you must inspect.You decide to transform the XML code and its declaration into a string for easy inspection.What should you do?A. Assign the ToString method of the Xml Document object to a string variable.B. Assign the OuterXml property of the Xml document object to a string variableC. Assign the OuterXml property of the Xml document element property of the Xml documentobject to a string variable.D. Use the WriteContentTo method of the XmlDocument object to write the document into aMemoryStream object. Use the GetXml method of the DataSet object to get a string version ofthe document.

B. Assign the OuterXml property of the Xml document object to a string variable

 201 views

More Questions for you: