Question:You create the definition for a Vehicle class by using the following code segment. public ref class Vehicle { public : [XmlAttribute(AttributeName = "category")] String= vehicleType; String= model; [XmlIgnore] int year; [XmlElement(ElementName = "mileage")] int miles; ConditionType condition; Vehicle() {} enum ConditionType { [XmlEnum("Poor")] BelowAverage, [XmlEnum("Good")] Average, [XmlEnum("Excellent")] AboveAverage } }; You create an instance of the Vehicle class. You populate the public fields of the Vehicle class instance as shown in the following table: You need to identify the XML block that is produced when this Vehicle class instance is serialized. Which block of XML represents the output of serializing the Vehicle instance? 

A <br />xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" <br />category="car"> <br />racer <br />15000 <br />Excellent 

B <br />xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" "A Composite Solution With Just One Click"- <br />Certification Guaranteed 251 Microsoft 70-536 Exam <br />xmlns:xsd="http://www.w3.org/2001/XMLSchema"" <br />vehicleType="car"> <br />racer <br />15000 <br />AboveAverage 

C <br />xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" <br />class="car"> <br />racer <br />15000 <br />Excellent 

D <br />xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/ XMLSchema"> <br />car <br />racer <br />15000 <br />Excellent 

+ Answer
+ Report
Total Preview: 1244

Copyright © 2024. Powered by Intellect Software Ltd