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

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

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

Same methods

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