MzIdentML.SpectrumIdentificationResultType.Deserialize C# (CSharp) Méthode

Deserialize() public static méthode

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

Same methods

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