Components.ID is a constuctor that creates native objects that conform to the nsIJSID
interface.
iid'{00000000-0000-0000-0000-000000000000}' giving the interface ID of the interface
Components.ID creates interface IDs for use in implementing methods like QueryInterface, getInterfaces, and other methods that take interface IDs as parameters. Components.classes, Components.classesByID, Components.interfaces provide pretty much all the nsIDs that most JavaScript code would ever need to deal with. The exception to this is the case where a component is written in JavaScript and needs to register itself with the component manager using its own nsID - an ID that is not already registered and thus does not appear in Components.classes.
Page last modified 09:02, 10 Oct 2007 by Mgjbot