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


o
Object to serialize
elementName
Name of XML element
callingAssembly
Calling assembly

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, _
   ByVal callingAssembly As Assembly _
) As String
Visual Basic (Usage)Copy Code
Dim o As ISerializeSupport
Dim elementName As String
Dim callingAssembly As Assembly
Dim value As String
 
value = Serializer.GetObjectXml(o, elementName, callingAssembly)
C# 
public static string GetObjectXml( 
   ISerializeSupport o,
   string elementName,
   Assembly callingAssembly
)

Parameters

o
Object to serialize
elementName
Name of XML element
callingAssembly
Calling assembly

Return Value

String containing the XML element for the object

Requirements

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

See Also

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