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
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2