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

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

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

Same methods

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