Westwind.WebConnection.wwDotNetBridge.FromXml C# (CSharp) Method

FromXml() public method

Deserializes an object from an XML string that was generated in format the same as generated from ToXml()
public FromXml ( string xml, Type type ) : object
xml string
type System.Type
return object
        public object FromXml(string xml, Type type)
        {
            try
            {
                return SerializationUtils.DeSerializeObject(xml, type);
            }
            catch (Exception ex)
            {
                SetError(ex, true);
                return null;
            }
        }
wwDotNetBridge