public static string GetItemParent(string p_itemName) { string ret = WordProcessingMergerPINVOKE.GetItemParent(p_itemName); if (WordProcessingMergerPINVOKE.SWIGPendingException.Pending) { throw WordProcessingMergerPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }