Partager via


SyndicationContent.WriteTo Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Sub WriteTo ( _
    writer As XmlWriter, _
    outerElementName As String, _
    outerElementNamespace As String _
)
public void WriteTo(
    XmlWriter writer,
    string outerElementName,
    string outerElementNamespace
)

Parameters

  • outerElementNamespace
    Type: System.String
    The namespace of the element.

Remarks

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

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.