XmlSerializationWriterWriteStartElement Method (String, String, Object, Boolean) |
Writes an opening element tag, including any attributes.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax protected void WriteStartElement(
string name,
string ns,
Object o,
bool writePrefixed
)
Parameters
- name
- Type: SystemString
The local name of the XML element to write. - ns
- Type: SystemString
The namespace of the XML element to write. - o
- Type: SystemObject
The object being serialized as an XML element. - writePrefixed
- Type: SystemBoolean
true to write the element name with a prefix if none is available for the
specified namespace; otherwise, false.
See Also