CSMSL.IO.MzML.SampleListType.LoadFromFile C# (CSharp) Метод

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

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

Same methods

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