public void AddLayout(ItemLayout layout) { Interop.ItemView.ItemView_AddLayout(swigCPtr, ItemLayout.getCPtr(layout)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemLayout obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }