コード例 #1
0
ファイル: CfrDictionaryValue.cs プロジェクト: xmcy0011/NanUI
        /// <summary>
        /// Returns true (1) if the current dictionary has a value for the given key.
        /// </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 HasKey(string key)
        {
            var call = new CfxDictionaryValueHasKeyRenderProcessCall();

            call.self = CfrObject.Unwrap(this);
            call.key  = key;
            call.RequestExecution(this);
            return(call.__retval);
        }
コード例 #2
0
        /// <summary>
        /// Returns true (1) if the current dictionary has a value for the given key.
        /// </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 HasKey(string key)
        {
            var call = new CfxDictionaryValueHasKeyRenderProcessCall();

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