Java.IO.File: Property Members

The properties of Java.IO.File are listed below. For a list of all members, see the File Members list.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
AbsoluteFileFile. Returns a new file constructed using the absolute path of this file.
[read-only]
AbsolutePathstring. Returns the absolute path of this file.
[read-only]
CanonicalFileFile. Returns a new file created using the canonical path of this file.
[read-only]
CanonicalPathstring. Returns the canonical path of this file.
[read-only]
FreeSpacelong. Returns the number of free bytes on the partition containing this path.
[read-only]
IsAbsolutebool. Indicates if this file's pathname is absolute.
[read-only]
IsDirectorybool. Indicates if this file represents a directory on the underlying file system.
[read-only]
IsFilebool. Indicates if this file represents a file on the underlying file system.
[read-only]
IsHiddenbool. Returns whether or not this file is a hidden file as defined by the operating system.
[read-only]
Namestring. Returns the name of the file or directory represented by this file.
[read-only]
Parentstring. Returns the pathname of the parent of this file.
[read-only]
ParentFileFile. Returns a new file made from the pathname of the parent of this file.
[read-only]
Pathstring. Returns the path of this file.
[read-only]
static
PathSeparatorstring. The system-dependent string used to separate components in search paths (":").
[read-only]
static
PathSeparatorCharchar. The system-dependent character used to separate components in search paths (':').
[read-only]
static
Separatorstring. The system-dependent string used to separate components in filenames ('/').
[read-only]
static
SeparatorCharchar. The system-dependent character used to separate components in filenames ('/').
[read-only]
TotalSpacelong. Returns the total size in bytes of the partition containing this path.
[read-only]
UsableSpacelong. Returns the number of usable free bytes on the partition containing this path.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.