ATMLModelLibrary.model.equipment.ControllerDrive.LoadFromFile C# (CSharp) Метод

LoadFromFile() публичный статический Метод

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

Same methods

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