public uint GetCollectionFreq(string tname) { uint ret = XapianPINVOKE.Database_GetCollectionFreq(swigCPtr, tname); if (XapianPINVOKE.SWIGPendingException.Pending) throw XapianPINVOKE.SWIGPendingException.Retrieve(); return ret; }