Compartir a través de


Rss20FeedFormatter.CanRead Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Verifies whether the specified XmlReader contains a valid RSS 2.0 syndication feed.

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

Syntax

'Declaration
Public Overrides Function CanRead ( _
    reader As XmlReader _
) As Boolean
public override bool CanRead(
    XmlReader reader
)

Parameters

Return Value

Type: System.Boolean
A value that specifies whether the XmlReader contains a valid RSS 2.0 syndication feed.

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.