次の方法で共有


SyndicationItemFormatter Constructor (SyndicationItem)

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

Creates a new instance of the SyndicationItemFormatter class with the specified SyndicationItem instance.

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

Syntax

'Declaration
Protected Sub New ( _
    itemToWrite As SyndicationItem _
)
protected SyndicationItemFormatter(
    SyndicationItem itemToWrite
)

Parameters

Remarks

A SyndicationItemFormatter must have a SyndicationItem associated with it. The SyndicationItemFormatter can then write out the SyndicationItem to an XmlReader. The only way to associate a SyndicationItem with a SyndicationItemFormatter is by using this constructor.

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.