public void Add(Data x) { EfficioRuntimePINVOKE.DataCollection_Add(swigCPtr, Data.getCPtr(x)); if (EfficioRuntimePINVOKE.SWIGPendingException.Pending) { throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve(); } }