Monobjc.Tools.PropertyList.PListDocument.LoadFromFile C# (CSharp) 메소드

LoadFromFile() 공개 정적인 메소드

Loads a PListDocument from a file.
public static LoadFromFile ( String path ) : PListDocument
path String The path.
리턴 PListDocument
        public static PListDocument LoadFromFile(String path)
        {
            XmlReaderSettings settings = new XmlReaderSettings {CloseInput = true, DtdProcessing = DtdProcessing.Parse, XmlResolver = new PListXmlResolver()};
            using (XmlReader reader = XmlReader.Create(path, settings))
            {
                return LoadFromXml(reader);
            }
        }