MzIdentML.FileFormatType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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