MzIdentML.SpectrumIdentificationType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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