Exemple #1
0
        public static CRSInfoList GetCRSInfoListFromDatabase(string authName, out int pnListCount)
        {
            IntPtr      cPtr = OsrPINVOKE.GetCRSInfoListFromDatabase(authName, out pnListCount);
            CRSInfoList ret  = (cPtr == IntPtr.Zero) ? null : new CRSInfoList(cPtr, true, ThisOwn_true());

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }