'Declaration
Public Overloads Shared Function SerializeObjectInternal( _ ByVal o As Object, _ ByVal elementName As String, _ ByVal w As XmlWriter, _ ByVal saveVersion As Boolean _ ) As Boolean
'Usage
Dim o As Object Dim elementName As String Dim w As XmlWriter Dim saveVersion As Boolean Dim value As Boolean value = Serializer.SerializeObjectInternal(o, elementName, w, saveVersion)
public static bool SerializeObjectInternal( object o, string elementName, XmlWriter w, bool saveVersion )
Parameters
- o
- Object to serialize
- elementName
- Name of XML element
- w
- XmlTextWriter object to which to save
- saveVersion
- Whether to save version, culture and public key of assembly.