XmlSerializerCanDeserialize Method |
Gets a value that indicates whether this System.Xml.Serialization.XmlSerializer
can deserialize a specified XML document.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public virtual bool CanDeserialize(
XmlReader xmlReader
)
Parameters
- xmlReader
- Type: System.XmlXmlReader
An System.Xml.XmlReader that points to the document to deserialize.
Return Value
Type:
Boolean
true if this System.Xml.Serialization.XmlSerializer can deserialize the object
that the System.Xml.XmlReader points to; otherwise, false.
See Also