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

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

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

Same methods

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