SyndicationFeedFormatter.CanRead Method

Verifies that the specified XmlReader contains a valid syndication feed.

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)

public abstract bool CanRead(
	XmlReader reader


Type: System.Xml.XmlReader
An XML reader to check.

Return Value

Type: System.Boolean
true, if the XML reader contains a valid syndication feed; otherwise, false.

This method verifies that the start element name and namespace match the start element name and namespace of the RSS 2.0 or Atom 1.0 specification.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions