Beispiel #1
0
        /// <summary>
        /// 从指定的地址导入网站菜单显示方式至站点中
        /// </summary>
        /// <param name="filePath">指定的导入地址</param>
        /// <param name="overwrite">是否覆盖原有菜单显示方式</param>
        public void ImportMenuDisplay(string filePath, bool overwrite)
        {
            var menuDisplayIe = new MenuDisplayIe(Fso.PublishmentSystemId, filePath);

            menuDisplayIe.ImportMenuDisplay(overwrite);
        }
Beispiel #2
0
        /// <summary>
        /// 导出网站菜单显示方式至指定的文件地址
        /// </summary>
        /// <param name="filePath"></param>
        public void ExportMenuDisplay(string filePath)
        {
            var menuDisplayIe = new MenuDisplayIe(Fso.PublishmentSystemId, filePath);

            menuDisplayIe.ExportMenuDisplay();
        }