Instructs System.Xml.XmlNode to write an object that uses custom XML formatting as an XML element.
- serializable
- An object that implements the System.Xml.Serialization.IXmlSerializable interface that uses custom XML formatting.
- name
- The local name of the XML element to write.
- ns
- The namespace of the XML element to write.
- isNullable
- true to write an xsi:nil='true' attribute if the System.Xml.Serialization.IXmlSerializable object is null; otherwise, false.
- wrapped
- true to ignore writing the opening element tag; otherwise, false to write the opening element tag.