Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WriteElementExtensions Method (XmlWriter, SyndicationPerson, String)

SyndicationItemFormatter.WriteElementExtensions Method (XmlWriter, SyndicationPerson, String)

Writes the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

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

protected void WriteElementExtensions(
	XmlWriter writer,
	SyndicationPerson person,
	string version
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter to write the extensions to.
person
Type: System.ServiceModel.Syndication.SyndicationPerson
The SyndicationPerson instance that contains the element extensions to be written.
version
Type: System.String
The syndication version the extensions are written in.

To control how element extensions are written by the SyndicationPerson, derive a class from SyndicationPerson and override the WriteElementExtensions(XmlWriter, String) method.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft