nsINavHistoryQueryResultNode 编辑

toolkit/components/places/nsINavHistoryService.idlScriptable Used for Places queries and as a base class for bookmark folders. 1.0 66 Introduced Gecko 1.8 Inherits from: nsINavHistoryContainerResultNode Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) Note: If you request that places not be expanded in the options that generated the node, the node will report that it has no children and will never try to populate itself.

Method overview

void getQueries([optional] out unsigned long queryCount, [retval,array,size_is(queryCount)] out nsINavHistoryQuery queries);

Attributes

AttributeTypeDescription
folderItemIdlong longFor both simple folder nodes and simple-folder-query nodes, this is set to the concrete itemId of the folder. Otherwise, this is set to -1. Read only.
queryOptionsnsINavHistoryQueryOptionsThe options that group the node's children; only valid for RESULT_TYPE_QUERY nodes. Read only.

Methods

getQueries()

Returns the queries that build the node's children; only valid for RESULT_TYPE_QUERY nodes.

 void getQueries(
  out unsigned long queryCount, Optional from Gecko 2.0
   [retval,array,size_is(queryCount)] out nsINavHistoryQuery queries
 );
Parameters
queryCount Optional from Gecko 2.0
The number of queries in the queries array.
queries
An array of nsINavHistoryQuery objects describing the set of queries that build the node's children. There are queryCount elements in the array.

See also

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:107 次

字数:3470

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文