public void FlushCache() { GdalPINVOKE.Band_FlushCache(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } }