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

Deserialize() public static method

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

Same methods

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