다음을 통해 공유


SyndicationItemFormatter.SetItem Method

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

Associates a SyndicationItem instance with the SyndicationItemFormatter.

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

Syntax

'Declaration
Protected Friend Overridable Sub SetItem ( _
    item As SyndicationItem _
)
protected internal virtual void SetItem(
    SyndicationItem item
)

Remarks

This method is protected and cannot be called from user code. To associate a SyndicationItem instance with a SyndicationItemFormatter, either create a new SyndicationItemFormatter instance and pass the constructor a SyndicationItem instance or load a SyndicationItem instance into the SyndicationItemFormatter by calling ReadFrom(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.