CanRead Method

SyndicationItemFormatter.CanRead Method (XmlReader)

 

Verifies whether the specified XmlReader contains a valid syndication item.

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

public abstract bool CanRead(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XML reader to check.

Return Value

Type: System.Boolean

true, if the XML reader contains a valid syndication item, otherwise false.

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft