MzIdentML.EnzymeType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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