MzIdentML.SearchModificationType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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