Compartir a través de


SyndicationFeedFormatter.TryParseElement Method (XmlReader, SyndicationLink, String)

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

Attempts to parse an element extension using the specified SyndicationLink instance.

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

Syntax

'Declaration
Protected Friend Shared Function TryParseElement ( _
    reader As XmlReader, _
    link As SyndicationLink, _
    version As String _
) As Boolean
protected internal static bool TryParseElement(
    XmlReader reader,
    SyndicationLink link,
    string version
)

Parameters

  • version
    Type: System.String
    The syndication version to use when parsing.

Return Value

Type: System.Boolean
A value that indicates whether the element was parsed successfully.

Remarks

To control how element extensions are parsed, derive your own class from SyndicationLink and override the TryParseElement(XmlReader, String) method.

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.