Spread Silverlight 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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Serializer Class
Serializer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.