XmlSerializer.CanDeserialize Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether this XmlSerializer can deserialize a specified XML document.
Assembly: System.Xml.Serialization (in System.Xml.Serialization.dll)
Parameters
- xmlReader
- Type: System.Xml.XmlReader
An XmlReader that points to the document to deserialize.
Return Value
Type: System.Booleantrue if this XmlSerializer can deserialize the object that the XmlReader points to; otherwise, false.
Show: