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

LoadFromFile() public static method

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

Same methods

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