public double GetWeight() { double ret = XapianPINVOKE.MSetIterator_GetWeight(swigCPtr); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }