ATMLModelLibrary.model.signal.basic.EventCount.LoadFromFile C# (CSharp) Méthode

LoadFromFile() public static méthode

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

Same methods

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