public static FieldList Repeat(Field value, int count) { global::System.IntPtr cPtr = GmsecPINVOKE.FieldList_Repeat(Field.getCPtr(value), count); FieldList ret = (cPtr == global::System.IntPtr.Zero) ? null : new FieldList(cPtr, true); if (GmsecPINVOKE.SWIGPendingException.Pending) { throw GmsecPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }