public ColorInterp GetColorInterpretation() { ColorInterp ret = (ColorInterp)GdalPINVOKE.Band_GetColorInterpretation(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }