阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js N-API napi_set_named_property

      Node.js N-API napi_set_named_property

      新增于: v8.0.0 N-API version: 1 napi_status napi_set_named_property(napi_env env, napi_value object, const char* utf8Name, napi_value value); [in] env: The environment that the N-API call is invoked under. [in] object: The object on which to set the property. [in] utf8Name: The name of the property to set. [in] value: The property value. Returns napi_ok if the API succeeded.

      This method is equivalent to calling napi_set_property with a napi_value created from the string passed in as utf8Name.


      更多内容请参考:Node.js N-API,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录