Spread Windows Forms 10.0 Product Documentation
GetObjectXml(ISerializeSupport,String) Method


Object to serialize
Name of XML element
Serializes an object to an XML string.
Syntax
'Declaration
 
Public Overloads Shared Function GetObjectXml( _
   ByVal o As ISerializeSupport, _
   ByVal elementName As String _
) As String
'Usage
 
Dim o As ISerializeSupport
Dim elementName As String
Dim value As String
 
value = Serializer.GetObjectXml(o, elementName)
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Serializer Class
Serializer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.