CSMSL.IO.MzML.DetectorComponentType.LoadFromFile C# (CSharp) Метод

LoadFromFile() публичный статический Метод

Deserializes xml markup from file into an DetectorComponentType object
public static LoadFromFile ( string fileName, DetectorComponentType &obj, System &exception ) : bool
fileName string string xml file to load and deserialize
obj DetectorComponentType Output DetectorComponentType object
exception System output Exception value if deserialize failed
Результат bool
        public static bool LoadFromFile(string fileName, out DetectorComponentType obj, out System.Exception exception)
        {
            exception = null;
            obj = default(DetectorComponentType);
            try
            {
                obj = LoadFromFile(fileName);
                return true;
            }
            catch (System.Exception ex)
            {
                exception = ex;
                return false;
            }
        }

Same methods

DetectorComponentType::LoadFromFile ( string fileName ) : DetectorComponentType
DetectorComponentType::LoadFromFile ( string fileName, DetectorComponentType &obj ) : bool