Пример #1
0
        /// <summary>
        /// 复制图层
        /// </summary>
        /// <param name="oldName"></param>
        /// <param name="newName"></param>
        /// <param name="copyReords">思否复制记录</param>
        public static IFeatureClass CopyFeatureClass(this IWorkspace workspace, string oldName, string newName, bool copyReords = false)
        {
            IFeatureWorkspace space = workspace as IFeatureWorkspace;

            return(space.CopyFeatureClass(oldName, newName, copyReords));
        }