ATMLModelLibrary.model.common.booleanArrayElement.LoadFromFile C# (CSharp) Méthode

LoadFromFile() public static méthode

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

Same methods

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