MzIdentML.ProteinDetectionType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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