Mono Class Library: Mono.Unix.UnixSymbolicLinkInfo Overview | MembersMono.Unix.UnixSymbolicLinkInfo.ContentsPath Property |
Gets the target of this symbolic link as a string. [Edit]
|
A string containing the target of this symbolic link. [Edit]
Type Reason ArgumentException UnixFileSystemInfo.FullName is not a symbolic link. [Mono.Unix.Native.Errno.EINVAL] [Edit] System.IO.DirectoryNotFoundException A component of UnixFileSystemInfo.FullName is not a directory. [Mono.Unix.Native.Errno.ENOTDIR] [Edit] System.IO.FileNotFoundException UnixFileSystemInfo.FullName [Mono.Unix.Native.Errno.ENOENT] [Edit] System.IO.IOException An I/O error occurred while reading from the file system. [Mono.Unix.Native.Errno.EIO] [Edit] System.IO.PathTooLongException A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters. [Mono.Unix.Native.Errno.ENAMETOOLONG] [Edit] Mono.Unix.UnixIOException Search permission is denied for a component of the path prefix. [Mono.Unix.Native.Errno.EACCES]
-or-
Too many symbolic links were encountered in translating the pathname. [Mono.Unix.Native.Errno.ELOOP]
[Edit]
Note: The target may in turn be a symbolic link (nothing prevents symbolic links from referencing other symbolic links). To get the actual target, use UnixPath.GetRealPath or UnixPath.GetCompleteRealPath.[Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0