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

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

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
Результат 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