Spread for ASP.NET 7.0 Product Documentation
SetObjectXml Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : SetObjectXml Method


o
Object to deserialize
xml
XML string returned by GetObjectXml
elementName
Name of XML element

Glossary Item Box

Deserializes an object saved with the GetObjectXml method using the specified XML string.

Syntax

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

Parameters

o
Object to deserialize
xml
XML string returned by GetObjectXml
elementName
Name of XML element

Return Value

true if successful; false otherwise

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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