예제 #1
0
        /// <summary>
        /// Sets the number of values. If the number of values is expanded all new
        /// value slots will default to type null. Returns true (1) on success.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public bool SetSize(ulong size)
        {
            var call = new CfxListValueSetSizeRenderProcessCall();

            call.@this = proxyId;
            call.size  = size;
            call.RequestExecution(this);
            return(call.__retval);
        }
예제 #2
0
        /// <summary>
        /// Sets the number of values. If the number of values is expanded all new
        /// value slots will default to type null. Returns true (1) on success.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public bool SetSize(int size)
        {
            var call = new CfxListValueSetSizeRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.size = size;
            call.RequestExecution(this);
            return(call.__retval);
        }