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.LoadElementExtensions Method (XmlReader, SyndicationLink, Int32)

Loads element extensions into the specified SyndicationLink using the specified XmlReader and the maximum extension size.

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

protected static void LoadElementExtensions(
	XmlReader reader,
	SyndicationLink link,
	int maxExtensionSize
)

Parameters

reader
Type: System.Xml.XmlReader
The XmlReader to read from.
link
Type: System.ServiceModel.Syndication.SyndicationLink
The SyndicationLink to load the element extensions into.
maxExtensionSize
Type: System.Int32
The maximum allowable size for an element extension (in bytes).

The RSS 2.0 and Atom 1.0 specifications allow you to add custom element extensions to a syndication feed. This method allows you to read in these element extensions from an XmlReader.

Silverlight

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

ADD
Show:
© 2015 Microsoft