ESRI.ArcGIS.ADF.Core
DeserializeXml Method
See Also  Send Feedback
ESRI.ArcGIS.ADF Namespace > Utility Class : DeserializeXml Method




xml
String to deserialize in XML format
type
.NET Type to deserialize into
Helper method to assist in de-serializing .NET types in XML

Syntax

Visual Basic (Declaration) 
Public Shared Function DeserializeXml( _
   ByVal xml As String, _
   ByVal type As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim xml As String
Dim type As Type
Dim value As Object
 
value = Utility.DeserializeXml(xml, type)
C# 
public static object DeserializeXml( 
   string xml,
   Type type
)

Parameters

xml
String to deserialize in XML format
type
.NET Type to deserialize into

Return Value

.NET Type deserialized into an object (Use this object with a cast to get the correct .NET Type)

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

© 2011 All Rights Reserved.