Spread WPF Documentation
SerializeObj(Object,String,XmlWriter) Method


The object to be serialized.
The element name of the object to be serialized.
The XmlWriter with which to write the object.
Serializes the object as an element of XML.
Syntax
'Declaration
 
Public Shared Sub SerializeObj( _
   ByVal obj As System.Object, _
   ByVal elementName As System.String, _
   ByVal writer 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 obj,
   System.string elementName,
   System.Xml.XmlWriter writer
)

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.
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Serializer Class
Serializer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.