public bool Contains(uint did) { bool ret = XapianPINVOKE.RSet_Contains__SWIG_0(swigCPtr, did); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }