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
)
Parameters
- item
Type: System.ServiceModel.Syndication.SyndicationItem
The SyndicationItem to associate with the SyndicationItemFormatter.
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.