System.Xml.Serialization.XmlSerializationWriter.WriteStartElement Method

Writes an opening element tag, including any attributes.

Syntax

protected void WriteStartElement (string name, string ns, object o)

Parameters

name
The local name of the XML element to write.
ns
The namespace of the XML element to write.
o
The object being serialized as an XML element.

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