Monobjc.Tools.PropertyList.PListDocument.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

Loads a PListDocument from a file.
public static LoadFromFile ( String path ) : PListDocument
path String The path.
return 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);
            }
        }