System.Xml.Serialization.XmlSerializationWriter.WriteXmlAttribute Method

Writes the specified System.Xml.XmlNode object as an XML attribute.

Syntax

protected void WriteXmlAttribute (System.Xml.XmlNode node, object container)

Parameters

node
The XML node to write.
container
An System.Xml.Schema.XmlSchemaObject object (or null) used to generate a qualified name value for an arrayType attribute from the Web Services Description Language (WSDL) namespace ("http://schemas.xmlsoap.org/wsdl/").

Remarks

The protected members of System.Xml.Serialization.XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0