MzIdentML.SpectrumIdentificationItemRefType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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