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

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

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

Same methods

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