public ColorTable GetColorTable() { IntPtr cPtr = GdalPINVOKE.Band_GetColorTable(swigCPtr); ColorTable ret = (cPtr == IntPtr.Zero) ? null : new ColorTable(cPtr, false, ThisOwn_false()); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }