CSMSL.IO.MzML.ChromatogramListType.Deserialize C# (CSharp) Method

Deserialize() public static method

public static Deserialize ( string xml ) : ChromatogramListType
xml string
return ChromatogramListType
        public static ChromatogramListType Deserialize(string xml)
        {
            System.IO.StringReader stringReader = null;
            try
            {
                stringReader = new System.IO.StringReader(xml);
                return ((ChromatogramListType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
            }
            finally
            {
                if ((stringReader != null))
                {
                    stringReader.Dispose();
                }
            }
        }

Same methods

ChromatogramListType::Deserialize ( string xml, ChromatogramListType &obj ) : bool
ChromatogramListType::Deserialize ( string xml, ChromatogramListType &obj, System &exception ) : bool