private Data getitemcopy(int index) { global::System.IntPtr cPtr = EfficioRuntimePINVOKE.DataCollection_getitemcopy(swigCPtr, index); Data ret = (cPtr == global::System.IntPtr.Zero) ? null : new Data(cPtr, true); if (EfficioRuntimePINVOKE.SWIGPendingException.Pending) { throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }