Serializes the object as an element of XML.
Syntax
'Declaration
Public Shared Sub SerializeObj( _
ByVal As System.Object, _
ByVal As System.String, _
ByVal As System.Xml.XmlWriter _
)
'Usage
Dim obj As System.Object
Dim elementName As System.String
Dim writer As System.Xml.XmlWriter
Serializer.SerializeObj(obj, elementName, writer)
public static void SerializeObj(
System.object ,
System.string ,
System.Xml.XmlWriter
)
Parameters
- obj
- The object to be serialized.
- elementName
- The element name of the object to be serialized.
- writer
- The XmlWriter with which to write the object.
See Also