Exemple #1
0
		/// <summary>
		/// 创建数据集
		/// </summary>
		/// <param name="headNode">VCT头节点</param>
        public Dataset CreateDataset(HeadNode headNode, string strName)
        {
            if (headNode == null)
                return null;
            try
            {
                m_Dataset = new Dataset(m_pIWorkspace);
                if (m_Dataset.CreateESRIDataset(strName, headNode))
                    return m_Dataset;

                return m_Dataset;
            }
            catch (Exception ex)
            {
                Logger.WriteErrorLog(ex);
                return null;
            }
        }