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