Mono Class Library: Mono.Unix.UnixFileSystemInfo Overview | Members

Mono.Unix.UnixFileSystemInfo.FullPath Property

Gets or sets the fully qualified path name.

protected string FullPath { set; get; }

Value

A string containing the fully qualified path name.

Exceptions

TypeReason
ArgumentNullExceptionpath is null.
ArgumentException

path is a zero-length string.

-or-

path contains an invalid character. See UnixPath.GetInvalidPathChars.

Remarks

If value is a different path, then the state is invalidated. This shouldn't matter, as the state will be re-validated on the next member access.

It is possible for the object state to be inconsistent if UnixFileSystemInfo.FullPath is set but not UnixFileSystemInfo.OriginalPath. All methods in this class do not use OriginalPath but use FullPath; subclasses such as Mono.Unix.UnixSymbolicLinkInfo do use OriginalPath. If FullPath is set then OriginalPath should also be set if possible for consistency.

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0