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

Deserialize() public static method

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

Same methods

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