public void Insert(int index, Data x) { EfficioRuntimePINVOKE.DataCollection_Insert(swigCPtr, index, Data.getCPtr(x)); if (EfficioRuntimePINVOKE.SWIGPendingException.Pending) { throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve(); } }