XElement.IXmlSerializable.WriteXml(XmlWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an object into its XML representation.
virtual void System.Xml.Serialization.IXmlSerializable.WriteXml(System::Xml::XmlWriter ^ writer) = System::Xml::Serialization::IXmlSerializable::WriteXml;
void IXmlSerializable.WriteXml (System.Xml.XmlWriter writer);
abstract member System.Xml.Serialization.IXmlSerializable.WriteXml : System.Xml.XmlWriter -> unit
override this.System.Xml.Serialization.IXmlSerializable.WriteXml : System.Xml.XmlWriter -> unit
Sub WriteXml (writer As XmlWriter) Implements IXmlSerializable.WriteXml
Parameters
Implements
Remarks
This method is used internally for marshaling object graphs that contain LINQ to XML objects. For an example of serializing an object graph that contains LINQ to XML objects, see Serialize object graphs that contain XElement objects.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.