Visit Mozilla.org

nsIFile:directoryEntries

From MDC

« XPCOM API Reference

Contents

[edit] Summary

This attribute returns an enumeration of files in the directory specified by this nsIFile.

 readonly attribute nsISimpleEnumerator directoryEntries;

[edit] Exceptions Thrown

NS_ERROR_FILE_NOT_DIRECTORY
Indicates that this nsIFile does not reference a directory.

[edit] Remarks

Each element in the enumeration supports at least nsIFile.

[edit] See Also

nsIFile