XmlSerializationWriter.WriteStartElement Method (String, String, Object, Boolean)
Writes an opening element tag, including any attributes.
Assembly: System.Xml (in System.Xml.dll)
protected void WriteStartElement( string name, string ns, Object o, bool writePrefixed )
Parameters
- name
- Type: System.String
The local name of the XML element to write.
- ns
- Type: System.String
The namespace of the XML element to write.
- o
- Type: System.Object
The object being serialized as an XML element.
- writePrefixed
- Type: System.Boolean
true to write the element name with a prefix if none is available for the specified namespace; otherwise, false.
The protected members of XmlSerializationWriter are intended for use only by derived classes that are used internally within the .NET Framework XML serialization infrastructure.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.