CSMSL.IO.MzML.InstrumentConfigurationType.Deserialize C# (CSharp) Méthode

Deserialize() public static méthode

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

Same methods

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