ATML1671Translator.model.number.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

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

Same methods

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