private DeviceParam getitem(int index) { global::System.IntPtr cPtr = GmsecPINVOKE.DeviceParamList_getitem(swigCPtr, index); DeviceParam ret = (cPtr == global::System.IntPtr.Zero) ? null : new DeviceParam(cPtr, false); if (GmsecPINVOKE.SWIGPendingException.Pending) { throw GmsecPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }