ATMLModelLibrary.model.equipment.PXIBackplaneVoltages.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

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

Same methods

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