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