SyndicationContent.WriteTo(XmlWriter, String, String) Method

Definition

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

public:
 void WriteTo(System::Xml::XmlWriter ^ writer, System::String ^ outerElementName, System::String ^ outerElementNamespace);
public void WriteTo (System.Xml.XmlWriter writer, string outerElementName, string outerElementNamespace);
member this.WriteTo : System.Xml.XmlWriter * string * string -> unit
Public Sub WriteTo (writer As XmlWriter, outerElementName As String, outerElementNamespace As String)

Parameters

writer
XmlWriter

The XmlWriter to write to.

outerElementName
String

The name of the element.

outerElementNamespace
String

The namespace of the element.

Remarks

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

Applies to