Aracılığıyla paylaş


SyndicationItemFormatter.LoadElementExtensions Method (XmlReader, SyndicationItem, Int32)

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

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

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

Syntax

'Declaration
Protected Shared Sub LoadElementExtensions ( _
    reader As XmlReader, _
    item As SyndicationItem, _
    maxExtensionSize As Integer _
)
protected static void LoadElementExtensions(
    XmlReader reader,
    SyndicationItem item,
    int maxExtensionSize
)

Parameters

  • maxExtensionSize
    Type: System.Int32
    The maximum allowable size for an element extension (in bytes).

Remarks

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.

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.