public static byte GetUpdateTocMethod() { byte ret = WordProcessingMergerPINVOKE.GetUpdateTocMethod(); if (WordProcessingMergerPINVOKE.SWIGPendingException.Pending) { throw WordProcessingMergerPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }