Bevisuali.UX.App.LoadData C# (CSharp) 메소드

LoadData() 공개 메소드

public LoadData ( string locator ) : string
locator string
리턴 string
        public string LoadData(string locator)
        {
            try
            {
                using (StreamReader reader = new StreamReader(locator, Encoding.UTF8))
                {
                    return reader.ReadToEnd();
                }
            }
            catch (FileNotFoundException)
            {
                return null;
            }
        }