AtomPub10ServiceDocumentFormatter.CanRead(XmlReader) Method

Definition

Tests whether the specified XML reader contains a valid service document.

public:
 override bool CanRead(System::Xml::XmlReader ^ reader);
public override bool CanRead (System.Xml.XmlReader reader);
override this.CanRead : System.Xml.XmlReader -> bool
Public Overrides Function CanRead (reader As XmlReader) As Boolean

Parameters

reader
XmlReader

The XML reader.

Returns

true if the XML reader does contain a valid service document; otherwise false.

Exceptions

reader is null.

Applies to