WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsILocalFileWin

IID:def38371-73b0-4dfd-85cd-0a7c91afbec6
Inherits From:nsILocalFile

Properties

readonly AString canonicalPath

The canonical path of the file, which avoids short/long pathname inconsistencies. The nsILocalFile persistent descriptor is not guaranteed to be canonicalized (it may persist either the long or the short path name). The format of the canonical path will vary with the underlying file system: it will typically be the short pathname on filesystems that support both short and long path forms.

readonly ACString nativeCanonicalPath


Methods

AString getVersionInfoField ( char* field )

AString getVersionInfoField ( char* field )

GetVersionInfoValue

Retrieve a metadata field from the file's VERSIONINFO block. Throws NS_ERROR_FAILURE if no value is found, or the value is empty.

Arguments:
field: The field to look up.

Reference documentation is generated from Mozilla's source.