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

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

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

Same methods

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