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

Deserialize() public static method

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

Same methods

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