Exemple #1
0
        /// <summary>
        /// Sets the user data for this object and returns true (1) on success. Returns
        /// false (0) if this function is called incorrectly. This function can only be
        /// called on user created objects.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
        /// </remarks>
        public bool SetUserData(RemotePtr userData)
        {
            var call = new CfxV8ValueSetUserDataRenderProcessCall();

            call.self     = CfrObject.Unwrap(this);
            call.userData = userData.ptr;
            call.RequestExecution(this);
            return(call.__retval);
        }
        /// <summary>
        /// Sets the user data for this object and returns true (1) on success. Returns
        /// false (0) if this function is called incorrectly. This function can only be
        /// called on user created objects.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_v8_capi.h">cef/include/capi/cef_v8_capi.h</see>.
        /// </remarks>
        public bool SetUserData(RemotePtr userData)
        {
            var call = new CfxV8ValueSetUserDataRenderProcessCall();

            call.@this    = proxyId;
            call.userData = userData.ptr;
            call.RequestExecution(this);
            return(call.__retval);
        }