You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have written code that includes the DataContractSerializer class. The code also includes a
DataContractSerializer class method that establishes whether the XmlReader is positioned on an
object that can be deserialized.
Which of the following is the method included in the code?
A.
The WriteObject(XmlWriter) method.
B.
The WriteObject(XmlDictionaryWriter) method.
C.
The IsStartObject(XmlDictionaryReader)method.
D.
The IsStartObject(XmlReader) method.
Explanation:
D
D:The IsStartObject(XmlReader) method.
This method checks whether the reader is positioned on an element that can be deserialized, and returns true if it is. To return true, the found element must have the expected name.
https://msdn.microsoft.com/en-us/library/bb908336%28v=vs.110%29.aspx