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

LoadFromFile() public static method

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

Same methods

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