App_Code.Controls.WidgetZone.RetrieveXml C# (CSharp) Method

RetrieveXml() private static method

Retrieves the XML.
private static RetrieveXml ( string zoneName ) : XmlDocument
zoneName string /// The zone Name. ///
return System.Xml.XmlDocument
        private static XmlDocument RetrieveXml(string zoneName)
        {
            var ws = new WidgetSettings(zoneName) { SettingsBehavior = new XmlDocumentBehavior() };
            var doc = (XmlDocument)ws.GetSettings();
            return doc;
        }