NetDimension.NanUI/ChromiumFX/Generated/Remote/CfrV8Value.cs
/// <summary>
/// Associates a value with the specified identifier and returns true (1) on
/// success. Returns false (0) if this function is called incorrectly or an
/// exception is thrown. For read-only values this function will return true
/// (1) even though assignment failed.
/// </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>
Associates a value with the specified identifier and returns true (1) on
success. Returns false (0) if this function is called incorrectly or an
exception is thrown. For read-only values this function will return true
(1) even though assignment failed.
Associates a value with the specified identifier and returns true ( 1 ) on success . Returns false ( 0 ) if this function is called incorrectly or an exception is thrown . For read - only values this function will return true ( 1 ) even though assignment failed .
public bool SetValue(int index, CfrV8Value value) {
            var connection = RemotePtr.connection;
            var call = new CfxV8ValueSetValueByIndexRemoteCall();
            call.@this = RemotePtr.ptr;
            call.index = index;
            if(!CfrObject.CheckConnection(value, connection)) throw new ArgumentException("Render process connection mismatch.", "value");
            call.value = CfrObject.Unwrap(value).ptr;
            call.RequestExecution(connection);
            return call.__retval;
        }
public bool SetValue ( int index , CfrV8Value value ) { var connection = RemotePtr . connection ; var call = new CfxV8ValueSetValueByIndexRemoteCall ( ) ; call . @this = RemotePtr . ptr ; call . index = index ; if ( ! CfrObject . CheckConnection ( value , connection ) ) throw new ArgumentException ( " " , " " ) ; call . value = CfrObject . Unwrap ( value ) . ptr ; call . RequestExecution ( connection ) ; return call . __retval ; }
Associates a value with the specified identifier and returns true (1) on
success.
Associates a value with the specified identifier and returns true ( 1 ) on success .
index
int
value
CfrV8Value
remarks
See also the original CEF documentation in
cef/include/capi/cef_v8_capi.h
See also the original CEF documentation in cef / include / capi / cef_v8_capi . h