次の方法で共有


SyndicationItem.GetRss20Formatter Method (Boolean)

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

Gets an Rss20FeedFormatter instance.

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

Syntax

'Declaration
Public Function GetRss20Formatter ( _
    serializeExtensionsAsAtom As Boolean _
) As Rss20ItemFormatter
public Rss20ItemFormatter GetRss20Formatter(
    bool serializeExtensionsAsAtom
)

Parameters

  • serializeExtensionsAsAtom
    Type: System.Boolean
    A value that specifies whether to serialize element and attribute extensions with an Atom 1.0 namespace.

Remarks

RSS 2.0 allows elements and attributes that are not in its specification only if they are within a namespace. When the serializedExtensionsAsAtom parameter is true, the formatter automatically adds the "a10" namespace to all extensions; otherwise, the extensions are not serialized.

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.