public LayoutItem GetChildAt(uint childIndex) { IntPtr cPtr = LayoutPINVOKE.LayoutGroupWrapperImpl_GetChildAt(swigCPtr, childIndex); HandleRef CPtrHandleRef = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); global::System.IntPtr refObjectPtr = LayoutPINVOKE.LayoutItemPtr_Get(CPtrHandleRef); LayoutItem ret = Registry.GetManagedBaseHandleFromRefObject(refObjectPtr) as LayoutItem; LayoutPINVOKE.delete_LayoutItemPtr(CPtrHandleRef); CPtrHandleRef = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }