ATMLModelLibrary.model.signal.basic.Interval.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

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

Same methods

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