CSMSL.IO.MzML.DetectorComponentType.Deserialize C# (CSharp) Метод

Deserialize() публичный статический Метод

public static Deserialize ( string xml ) : DetectorComponentType
xml string
Результат DetectorComponentType
        public static DetectorComponentType Deserialize(string xml)
        {
            System.IO.StringReader stringReader = null;
            try
            {
                stringReader = new System.IO.StringReader(xml);
                return ((DetectorComponentType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
            }
            finally
            {
                if ((stringReader != null))
                {
                    stringReader.Dispose();
                }
            }
        }

Same methods

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