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

Deserialize() public static méthode

Deserializes workflow markup into an ComponentType object
public static Deserialize ( string xml, ComponentType &obj, System &exception ) : bool
xml string string workflow markup to deserialize
obj ComponentType Output ComponentType object
exception System output Exception value if deserialize failed
Résultat bool
        public static bool Deserialize(string xml, out ComponentType obj, out System.Exception exception)
        {
            exception = null;
            obj = default(ComponentType);
            try
            {
                obj = Deserialize(xml);
                return true;
            }
            catch (System.Exception ex)
            {
                exception = ex;
                return false;
            }
        }

Same methods

ComponentType::Deserialize ( string xml ) : ComponentType
ComponentType::Deserialize ( string xml, ComponentType &obj ) : bool