SyndicationItemFormatter.SetItem Method (SyndicationItem)


Associates a SyndicationItem instance with the SyndicationItemFormatter.

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

protected internal virtual void SetItem(
	SyndicationItem item

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).

.NET Framework
Available since 3.5
Available since 2.0
Return to top