System.Xml.Serialization.XmlSerializer.CanDeserialize Method

Gets a value that indicates whether this System.Xml.Serialization.XmlSerializer can deserialize a specified XML document.

Syntax

public virtual bool CanDeserialize (System.Xml.XmlReader xmlReader)

Parameters

xmlReader
An System.Xml.XmlReader that points to the document to deserialize.

Returns

true if this System.Xml.Serialization.XmlSerializer can deserialize the object that the System.Xml.XmlReader points to; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0