ATMLModelLibrary.model.common.CollectionArrayElement.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

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

Same methods

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