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

LoadFromFile() public static method

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

Same methods

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