Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsINavHistoryQueryResultNode

Used for Places queries and as a base class for bookmark folders.
1.0
28
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 are queryCount elements in the array.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,