public BC_Message GetMessageByIndex(uint idx) { global::System.IntPtr cPtr = BIMcollab_ProjectPINVOKE.BC_Project_GetMessageByIndex(swigCPtr, idx); BC_Message ret = (cPtr == global::System.IntPtr.Zero) ? null : new BC_Message(cPtr, false); if (BIMcollab_ProjectPINVOKE.SWIGPendingException.Pending) { throw BIMcollab_ProjectPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }