Spread for ASP.NET 9.0 Product Documentation
SetObjectXml Method


Object to deserialize
XML string returned by GetObjectXml
Name of XML element
Deserializes an object saved with the GetObjectXml method using the specified XML string.
Syntax
'Declaration
 
Public Shared Function SetObjectXml( _
   ByVal o As ISerializeSupport, _
   ByVal xml As String, _
   ByVal elementName As String _
) As Boolean
'Usage
 
Dim o As ISerializeSupport
Dim xml As String
Dim elementName As String
Dim value As Boolean
 
value = Serializer.SetObjectXml(o, xml, elementName)
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Serializer Class
Serializer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.