This documentation is archived and is not being maintained.

SyndicationContent.WriteTo Method

Writes the contents of this object to the specified XmlWriter within the specified element and element namespace.

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

public void WriteTo(
	XmlWriter writer,
	string outerElementName,
	string outerElementNamespace
)

Parameters

writer
Type: System.Xml.XmlWriter
The XmlWriter to write to.
outerElementName
Type: System.String
The name of the element.
outerElementNamespace
Type: System.String
The namespace of the element.

The content contained in this object is written within the specified outer element.

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: