ATMLModelLibrary.model.signal.DIGITAL_TEST.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

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

Same methods

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