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