Spread ASP.NET 6.0 Product Documentation
GetObjectXml(ISerializeSupport,String,Assembly) Method
See Also  Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model 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 of XML element

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.