nsINavHistoryQueryResultNode 编辑
toolkit/components/places/nsINavHistoryService.idl
Scriptable 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
Attribute | Type | Description |
folderItemId | long long | For 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. |
queryOptions | nsINavHistoryQueryOptions | The 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 arequeryCount
elements in the array.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论