public double ReadAsDouble() { double ret = GdalPINVOKE.Attribute_ReadAsDouble(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }