ESRI.ArcGIS.ADF
DeserializeXml Method
See Also  Send comments on this topic.
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)

See Also

© 2010 All Rights Reserved.