Partager via


Atom10FeedFormatter.CanRead Method

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

Verifies whether the specified XmlReader contains a valid Atom 1.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 Atom 1.0 syndication feed.

Remarks

This method does not advance the reader to beyond the start element.

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.