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