public DeviceParamList GetRange(int index, int count) { global::System.IntPtr cPtr = GmsecPINVOKE.DeviceParamList_GetRange(swigCPtr, index, count); DeviceParamList ret = (cPtr == global::System.IntPtr.Zero) ? null : new DeviceParamList(cPtr, true); if (GmsecPINVOKE.SWIGPendingException.Pending) { throw GmsecPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }