Spread Windows Forms 6.0 Product Documentation
GetObjectXml(ISerializeSupport,String) Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class > GetObjectXml Method : GetObjectXml(ISerializeSupport,String) Method


o
Object to serialize
elementName
Name of XML element

Glossary Item Box

Serializes an object to an XML string.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetObjectXml( _
   ByVal o As ISerializeSupport, _
   ByVal elementName As String _
) As String
Visual Basic (Usage)Copy Code
Dim o As ISerializeSupport
Dim elementName As String
Dim value As String
 
value = Serializer.GetObjectXml(o, elementName)
C# 
public static string GetObjectXml( 
   ISerializeSupport o,
   string elementName
)

Parameters

o
Object to serialize
elementName
Name of XML element

Return Value

String containing the XML element for the object

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.