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

Deserialize() public static method

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

Same methods

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