SyndicationItemFormatter.CanRead Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Verifies whether the specified XmlReader contains a valid syndication item.
Namespace: System.ServiceModel.Syndication
Assembly: System.ServiceModel.Syndication (in System.ServiceModel.Syndication.dll)
Syntax
'Declaration
Public MustOverride Function CanRead ( _
reader As XmlReader _
) As Boolean
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.