MzIdentML.SpectrumIDFormatType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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