Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SyndicationItemFormatter.TryParseElement Method (XmlReader, SyndicationLink, String)

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

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

protected static bool TryParseElement(
	XmlReader reader,
	SyndicationLink link,
	string version


Type: System.Xml.XmlReader
The XmlReader to read from.
Type: System.ServiceModel.Syndication.SyndicationLink
The SyndicationItem instance to use.
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.

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


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2015 Microsoft