Editar

Partilhar via


SyndicationItemFormatter Constructors

Definition

Creates a new instance of the SyndicationItemFormatter class.

Overloads

SyndicationItemFormatter()

Creates a new instance of the SyndicationItemFormatter class.

SyndicationItemFormatter(SyndicationItem)

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

SyndicationItemFormatter()

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

Creates a new instance of the SyndicationItemFormatter class.

protected:
 SyndicationItemFormatter();
protected SyndicationItemFormatter ();
Protected Sub New ()

Applies to

SyndicationItemFormatter(SyndicationItem)

Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs
Source:
SyndicationItemFormatter.cs

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

protected:
 SyndicationItemFormatter(System::ServiceModel::Syndication::SyndicationItem ^ itemToWrite);
protected SyndicationItemFormatter (System.ServiceModel.Syndication.SyndicationItem itemToWrite);
new System.ServiceModel.Syndication.SyndicationItemFormatter : System.ServiceModel.Syndication.SyndicationItem -> System.ServiceModel.Syndication.SyndicationItemFormatter
Protected Sub New (itemToWrite As SyndicationItem)

Parameters

itemToWrite
SyndicationItem

The SyndicationItem to write.

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.

Applies to