public double GetDocLength(uint docid) { double ret = XapianPINVOKE.Database_GetDocLength(swigCPtr, docid); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }