'Declaration
Public Sub SerializeSnippet( _ ByVal xmlWriter As System.Xml.XmlWriter, _ ByVal elementObj As System.Object, _ Optional ByVal elementName As System.Xml.XmlQualifiedName, _ Optional ByVal elementType As System.Type, _ Optional ByVal settings As LxWriterSettings _ )
public void SerializeSnippet( System.Xml.XmlWriter xmlWriter, System.object elementObj, System.Xml.XmlQualifiedName elementName, System.Type elementType, LxWriterSettings settings )
Parameters
- xmlWriter
- The System.Xml.XmlWriter to write the XML data to
- elementObj
- The Liquid XML Objects attributed class to serialize
- elementName
- The name of the XML element that will be created. If the elementObj represents a root or inline xs:element this this IS NOT required (if it is specified, it must match the xs:element name). If the elementObj represents a xs:complexType then this IS required.
- elementType
- The default type of the element to be written, only used when elementObj represents a complexType. If elementObj represents a complexType, then the xsi:type attribute will be written if it elementObj is not of this type.
- settings
- The Liquid XML Objects settings to control the serialization, default configuration is used if null