Looking For

TOC PREV NEXT INDEX

Embedding Gecko API


nsIDirectoryServiceProvider2


This interface is an extension of nsIDirectoryServiceProvider which allows multiple files to be returned for a given key. It is scriptable.

Methods
getFiles

Provides Directory Service with a prop when it gets a request for it and the requested type is nsISimpleEnumerator.

Syntax:

nsISimpleEnumerator nsIDirectoryServiceProvider2::getFiles(
	in string prop) 

Parameters:

prop: The symbolic name of the file list.

Returns:

An enumerator for a list of file locations. The elements in the enumeration are of the type nsIFile.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX