CSMSL.IO.MzML.SampleListType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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