コード例 #1
0
        public IFields getFields(string catalogpath)
        {
            IFields flds = null;

            try
            {
                if (exists(catalogpath))
                {
                    param.RemoveAll();
                    param.Add(catalogpath);
                    IGPValue gpValue = (IGPValue)param;
                    flds = gpUtl.GetFields(gpValue);
                }
            }
            catch (Exception e)
            {
                Console.WriteLine("Error: " + e.ToString());
            }
            return(flds);
        }