/// <summary> /// Add the specified post data element. Returns true (1) if the add succeeds. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>. /// </remarks> public bool AddElement(CfrPostDataElement element) { var call = new CfxPostDataAddElementRemoteCall(); call.@this = RemotePtr.ptr; call.element = CfrObject.Unwrap(element).ptr; call.RequestExecution(RemotePtr.connection); return(call.__retval); }
/// <summary> /// Add the specified post data element. Returns true (1) if the add succeeds. /// </summary> /// <remarks> /// See also the original CEF documentation in /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_request_capi.h">cef/include/capi/cef_request_capi.h</see>. /// </remarks> public bool AddElement(CfrPostDataElement element) { var connection = RemotePtr.connection; var call = new CfxPostDataAddElementRemoteCall(); call.@this = RemotePtr.ptr; if (!CfrObject.CheckConnection(element, connection)) { throw new ArgumentException("Render process connection mismatch.", "element"); } call.element = CfrObject.Unwrap(element).ptr; call.RequestExecution(connection); return(call.__retval); }