MzIdentML.PersonType.Deserialize C# (CSharp) Method

Deserialize() public static method

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

Same methods

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