1 <Type Name="UnixSymbolicLinkInfo" FullName="Mono.Unix.UnixSymbolicLinkInfo">
2 <TypeSignature Language="C#" Value="public sealed class UnixSymbolicLinkInfo : Mono.Unix.UnixFileSystemInfo" />
4 <AssemblyName>Mono.Posix</AssemblyName>
5 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
6 <AssemblyVersion>2.0.0.0</AssemblyVersion>
8 <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
10 <BaseTypeName>Mono.Unix.UnixFileSystemInfo</BaseTypeName>
15 Provides information about and performs operations on symbolic links.
18 <para>The <see cref="T:Mono.Unix.UnixSymbolicLinkInfo" /> class provides
19 information about a symbolic link. It also allows basic
20 symbolic link manipulation:</para>
23 <term>Symbolic link creation with
24 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" />.
28 <term>Symbolic link deletion with
29 <see cref="M:Mono.Unix.UnixFileInfo.Delete" />.</term>
33 <altmember cref="T:Mono.Unix.UnixFileInfo" />
34 <altmember cref="T:Mono.Unix.UnixDirectoryInfo" />
37 <Member MemberName=".ctor">
38 <MemberSignature Language="C#" Value="public UnixSymbolicLinkInfo (string path);" />
39 <MemberType>Constructor</MemberType>
41 <Parameter Name="path" Type="System.String" />
45 A <see cref="T:System.String" /> containing the symbolic link to
48 <summary>Creates a new <see cref="T:Mono.Unix.UnixSymbolicLinkInfo" />
49 instance containing information about the symbolic link.</summary>
51 <para>The <paramref name="path" /> argument is permitted to specify
52 relative or absolute path information. Relative path information is
53 interpreted as relative to the current working directory.
54 <block subset="none" type="note">To obtain the current working
56 <see cref="M:Mono.Unix.UnixDirectoryInfo.GetCurrentDirectory" />.
58 <para>It is valid to construct
59 <see cref="T:Mono.Unix.UnixSymbolicLinkInfo" /> objects for symbolic
60 links that do not exist or for files and directories.
61 However, attempts to use the
62 <see cref="T:Mono.Unix.UnixSymbolicLinkInfo" /> instance may
63 generate <see cref="T:System.InvalidOperationException" />s
64 and other exception types.
65 Use <see cref="P:Mono.Unix.UnixFileSystemInfo.Exists" /> to see if
66 <paramref name="path" /> exists,
67 <see cref="P:Mono.Unix.UnixFileSystemInfo.IsSymbolicLink" /> to ensure
68 that <paramref name="path" /> is a symbolic link, and
69 Use <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.HasContents" />
70 to ensure that the symbolic link target is valid.
73 <exception cref="T:System.ArgumentNullException">
74 <paramref name="path" /> is <see langword="null" />.
76 <exception cref="T:System.ArgumentException">
77 <paramref name="path" /> contains invalid characters; see
78 <see cref="M:Mono.Unix.UnixPath.GetInvalidPathChars" />.
82 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
83 <AssemblyVersion>2.0.0.0</AssemblyVersion>
86 <Member MemberName="Contents">
87 <MemberSignature Language="C#" Value="public Mono.Unix.UnixFileSystemInfo Contents { get; }" />
88 <MemberType>Property</MemberType>
90 <ReturnType>Mono.Unix.UnixFileSystemInfo</ReturnType>
93 <summary>Gets the target of this symbolic link.</summary>
96 A <see cref="T:Mono.Unix.UnixFileSystemInfo" /> reference containing
97 information about the target of this symbolic link, or
98 <see langword="null" /> if
99 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />:
103 <term>does not exist, or</term>
106 <term>is not a symbolic link.</term>
110 The behavior will be changed in the future to generate an
111 exception for either of the above error conditions, so current
112 code needs to deal with both exceptions and a
113 <see langword="null" /> return value. <see langword="null" />
114 will not be used by the Mono 1.2 release.
119 <block subset="none" type="note">
120 Do not use this method, as it always creates a new
121 <see cref="T:Mono.Unix.UnixFileSystemInfo" /> instance -- no
122 caching is performed, even though it's a property. Instead, use
123 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.GetContents" />,
127 This really should throw the same exceptions as
128 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.ContentsPath" />
129 instead of returning <see langword="null" />.
132 <block subset="none" type="note">
133 The target may in turn be a symbolic link (nothing prevents
134 symbolic links from referencing other symbolic links).
135 To get the actual target, use
136 <see cref="M:Mono.Unix.UnixPath.GetRealPath" />,
137 <see cref="M:Mono.Unix.UnixPath.GetCompleteRealPath" />,
138 or walk the symbolic link "chain":
139 <code lang="C#">UnixFileSystemInfo target =
140 new UnixSymbolicLinkInfo ("symlink").Contents;
141 while (target != null &&
142 target.FileType == FileTypes.SymbolicLink) {
143 target = ((UnixSymbolicLinkInfo) target).Contents;
147 <exception cref="System.ArgumentException">
149 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
150 is not a symbolic link.
151 [<see cref="F:Mono.Unix.Native.Errno.EINVAL" />]
154 <exception cref="System.IO.DirectoryNotFoundException">
157 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
159 [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR" />]
162 <exception cref="System.IO.FileNotFoundException">
164 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
165 [<see cref="F:Mono.Unix.Native.Errno.ENOENT" />]
168 <exception cref="System.IO.IOException">
170 An I/O error occurred while reading from the file system.
171 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
174 <exception cref="System.IO.PathTooLongException">
176 A component of a pathname exceeded 255 characters,
177 or an entire path name exceeded 1023 characters.
178 [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG" />]
181 <exception cref="Mono.Unix.UnixIOException">
183 Search permission is denied for a component of the path prefix.
184 [<see cref="F:Mono.Unix.Native.Errno.EACCES" />]
188 Too many symbolic links were encountered in translating the pathname.
189 [<see cref="F:Mono.Unix.Native.Errno.ELOOP" />]
195 <AttributeName>System.Obsolete("Use GetContents()")</AttributeName>
199 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
200 <AssemblyVersion>2.0.0.0</AssemblyVersion>
203 <Member MemberName="ContentsPath">
204 <MemberSignature Language="C#" Value="public string ContentsPath { get; }" />
205 <MemberType>Property</MemberType>
207 <ReturnType>System.String</ReturnType>
211 Gets the target of this symbolic link as a
212 <see cref="T:System.String" />.
215 A <see cref="T:System.String" /> containing the target of this
220 <block subset="none" type="note">
221 The target may in turn be a symbolic link (nothing prevents
222 symbolic links from referencing other symbolic links).
223 To get the actual target, use
224 <see cref="M:Mono.Unix.UnixPath.GetRealPath" /> or
225 <see cref="M:Mono.Unix.UnixPath.GetCompleteRealPath" />.
229 <exception cref="System.ArgumentException">
231 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
232 is not a symbolic link.
233 [<see cref="F:Mono.Unix.Native.Errno.EINVAL" />]
236 <exception cref="System.IO.DirectoryNotFoundException">
239 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
241 [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR" />]
244 <exception cref="System.IO.FileNotFoundException">
246 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
247 [<see cref="F:Mono.Unix.Native.Errno.ENOENT" />]
250 <exception cref="System.IO.IOException">
252 An I/O error occurred while reading from the file system.
253 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
256 <exception cref="System.IO.PathTooLongException">
258 A component of a pathname exceeded 255 characters,
259 or an entire path name exceeded 1023 characters.
260 [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG" />]
263 <exception cref="Mono.Unix.UnixIOException">
265 Search permission is denied for a component of the path prefix.
266 [<see cref="F:Mono.Unix.Native.Errno.EACCES" />]
270 Too many symbolic links were encountered in translating the pathname.
271 [<see cref="F:Mono.Unix.Native.Errno.ELOOP" />]
276 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
277 <AssemblyVersion>2.0.0.0</AssemblyVersion>
280 <Member MemberName="CreateSymbolicLinkTo">
281 <MemberSignature Language="C#" Value="public void CreateSymbolicLinkTo (Mono.Unix.UnixFileSystemInfo path);" />
282 <MemberType>Method</MemberType>
284 <ReturnType>System.Void</ReturnType>
287 <Parameter Name="path" Type="Mono.Unix.UnixFileSystemInfo" />
291 A <see cref="T:Mono.Unix.UnixFileSystemInfo" /> instance containing
292 the target of this symbolic link instance.
295 Creates the symbolic link
296 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" /> which refers
297 to the symbolic link target <paramref name="path" />.
301 Creates the symbolic link
302 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" /> which refers
303 to the target <paramref name="path" />.
306 The <paramref name="path" /> argument is permitted to specify
307 relative or absolute path information. Relative path information is
308 interpreted by the file system as relative to the symbolic link
309 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />.
313 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" />
315 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />
316 allows relative path information to be preserved within the
320 <para>The <c>ln</c>(1) command:</para>
321 <code lang="sh">ln -s target symlink</code>
323 Can be created using <see cref="N:Mono.Unix" /> in two ways.
324 First, it can be created using
325 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />:
327 <code lang="C#">UnixFileInfo f = new UnixFileInfo ("target.ufi");
328 f.CreateSymbolicLink ("symlink.ufi");</code>
330 Second, it can be created using
331 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" />:
333 <code lang="C#">UnixSymbolicLinkInfo s =
334 new UnixSymbolicLinkInfo ("symlink.usli");
335 s.CreateSymbolicLinkTo ("target.usli");</code>
337 The links created by the above differ; in particular, the target
339 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />
340 is the full path name of the target, while
341 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" /> contains no extra information:
343 <code lang="sh">$ ls -lF symlink* | cut -c 39-
345 symlink.ufi -> /full/path/to/target.ufi
346 symlink.usli -> target.usli</code>
349 <exception cref="System.IO.DirectoryNotFoundException">
352 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
354 [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR" />]
357 <exception cref="System.IO.FileNotFoundException">
359 <paramref name="path" /> does not exist.
360 [<see cref="F:Mono.Unix.Native.Errno.ENOENT" />]
363 <exception cref="System.IO.IOException">
365 An I/O error occurred while making the directory entry for
366 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
367 or allocating the inode for
368 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
369 or writing out the link contents of
370 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />.
371 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
376 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
377 would reside on a read-only file system.
378 [<see cref="F:Mono.Unix.Native.Errno.EROFS" />]
382 The directory in which the entry for the new symbolic link is being placed
383 cannot be extended because there is no space left on the file
384 system containing the directory.
385 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
389 The new symbolic link cannot be created because
390 there is no space left on the file
391 system that will contain the symbolic link.
392 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
396 There are no free inodes on the file system on which the
397 symbolic link is being created.
398 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
402 An I/O error occurred while making the directory entry or allocating the inode.
403 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
406 <exception cref="System.IO.PathTooLongException">
408 A component of either pathname exceeded 255 characters,
409 or the entire length of either path name exceeded 1023 characters.
410 [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG" />]
413 <exception cref="Mono.Unix.UnixIOException">
416 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
417 denies search permission.
418 [<see cref="F:Mono.Unix.Native.Errno.EACCES" />]
422 Too many symbolic links were encountered in translating the pathname.
423 [<see cref="F:Mono.Unix.Native.Errno.ELOOP" />]
427 The path name pointed at by the
428 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
431 [<see cref="F:Mono.Unix.Native.Errno.EEXIST" />]
435 The directory in which the entry for the new symbolic link
436 is being placed cannot be extended because the
437 user's quota of disk blocks on the file system
438 containing the directory has been exhausted.
439 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
443 The new symbolic link cannot be created because the user's
444 quota of disk blocks on the file system that will
445 contain the symbolic link has been exhausted.
446 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
450 The user's quota of inodes on the file system on
451 which the symbolic link is being created has been exhausted.
452 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
457 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
458 <AssemblyVersion>2.0.0.0</AssemblyVersion>
461 <Member MemberName="CreateSymbolicLinkTo">
462 <MemberSignature Language="C#" Value="public void CreateSymbolicLinkTo (string path);" />
463 <MemberType>Method</MemberType>
465 <ReturnType>System.Void</ReturnType>
468 <Parameter Name="path" Type="System.String" />
472 A <see cref="T:System.String" /> containing the target of this
473 symbolic link instance.
476 Creates the symbolic link
477 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" /> which refers
478 to the symbolic link target <paramref name="path" />.
482 Creates the symbolic link
483 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" /> which refers
484 to the target <paramref name="path" />.
487 The <paramref name="path" /> argument is permitted to specify
488 relative or absolute path information. Relative path information is
489 interpreted by the file system as relative to the symbolic link
490 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />.
494 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" />
496 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />
497 allows relative path information to be preserved within the
501 <para>The <c>ln</c>(1) command:</para>
502 <code lang="sh">ln -s target symlink</code>
504 Can be created using <see cref="N:Mono.Unix" /> in two ways.
505 First, it can be created using
506 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />:
508 <code lang="C#">UnixFileInfo f = new UnixFileInfo ("target.ufi");
509 f.CreateSymbolicLink ("symlink.ufi");</code>
511 Second, it can be created using
512 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" />:
514 <code lang="C#">UnixSymbolicLinkInfo s =
515 new UnixSymbolicLinkInfo ("symlink.usli");
516 s.CreateSymbolicLinkTo ("target.usli");</code>
518 The links created by the above differ; in particular, the target
520 <see cref="M:Mono.Unix.UnixFileSystemInfo.CreateSymbolicLink" />
521 is the full path name of the target, while
522 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.CreateSymbolicLinkTo" /> contains no extra information:
524 <code lang="sh">$ ls -lF symlink* | cut -c 39-
526 symlink.ufi -> /full/path/to/target.ufi
527 symlink.usli -> target.usli
531 <exception cref="System.IO.DirectoryNotFoundException">
534 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
536 [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR" />]
539 <exception cref="System.IO.FileNotFoundException">
541 <paramref name="path" /> does not exist.
542 [<see cref="F:Mono.Unix.Native.Errno.ENOENT" />]
545 <exception cref="System.IO.IOException">
547 An I/O error occurred while making the directory entry for
548 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
549 or allocating the inode for
550 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
551 or writing out the link contents of
552 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />.
553 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
558 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
559 would reside on a read-only file system.
560 [<see cref="F:Mono.Unix.Native.Errno.EROFS" />]
564 The directory in which the entry for the new symbolic link is being placed
565 cannot be extended because there is no space left on the file
566 system containing the directory.
567 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
571 The new symbolic link cannot be created because
572 there is no space left on the file
573 system that will contain the symbolic link.
574 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
578 There are no free inodes on the file system on which the
579 symbolic link is being created.
580 [<see cref="F:Mono.Unix.Native.Errno.ENOSPC" />]
584 An I/O error occurred while making the directory entry or allocating the inode.
585 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
588 <exception cref="System.IO.PathTooLongException">
590 A component of either pathname exceeded 255 characters,
591 or the entire length of either path name exceeded 1023 characters.
592 [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG" />]
595 <exception cref="Mono.Unix.UnixIOException">
598 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
599 denies search permission.
600 [<see cref="F:Mono.Unix.Native.Errno.EACCES" />]
604 Too many symbolic links were encountered in translating the pathname.
605 [<see cref="F:Mono.Unix.Native.Errno.ELOOP" />]
609 The path name pointed at by the
610 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
613 [<see cref="F:Mono.Unix.Native.Errno.EEXIST" />]
617 The directory in which the entry for the new symbolic link
618 is being placed cannot be extended because the
619 user's quota of disk blocks on the file system
620 containing the directory has been exhausted.
621 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
625 The new symbolic link cannot be created because the user's
626 quota of disk blocks on the file system that will
627 contain the symbolic link has been exhausted.
628 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
632 The user's quota of inodes on the file system on
633 which the symbolic link is being created has been exhausted.
634 [<see cref="F:Mono.Unix.Native.Errno.EDQUOT" />]
639 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
640 <AssemblyVersion>2.0.0.0</AssemblyVersion>
643 <Member MemberName="Delete">
644 <MemberSignature Language="C#" Value="public override void Delete ();" />
645 <MemberType>Method</MemberType>
647 <ReturnType>System.Void</ReturnType>
651 <summary>To be added.</summary>
652 <remarks>To be added.</remarks>
655 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
656 <AssemblyVersion>2.0.0.0</AssemblyVersion>
659 <Member MemberName="GetContents">
660 <MemberSignature Language="C#" Value="public Mono.Unix.UnixFileSystemInfo GetContents ();" />
661 <MemberType>Method</MemberType>
663 <ReturnType>Mono.Unix.UnixFileSystemInfo</ReturnType>
666 <summary>Gets the target of this symbolic link.</summary>
669 A <see cref="T:Mono.Unix.UnixFileSystemInfo" /> reference containing
670 information about the target of this symbolic link, or
671 <see langword="null" /> if
672 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />:
676 <term>does not exist, or</term>
679 <term>is not a symbolic link.</term>
683 The behavior will be changed in the future to generate an
684 exception for either of the above error conditions, so current
685 code needs to deal with both exceptions and a
686 <see langword="null" /> return value. <see langword="null" />
687 will not be used by the Mono 1.2 release.
692 This really should throw the same exceptions as
693 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.ContentsPath" />
694 instead of returning <see langword="null" />.
697 <block subset="none" type="note">
698 The target may in turn be a symbolic link (nothing prevents
699 symbolic links from referencing other symbolic links).
700 To get the actual target, use
701 <see cref="M:Mono.Unix.UnixPath.GetRealPath" />,
702 <see cref="M:Mono.Unix.UnixPath.GetCompleteRealPath" />,
703 or walk the symbolic link "chain":
704 <code lang="C#">UnixFileSystemInfo target =
705 new UnixSymbolicLinkInfo ("symlink").GetContents ();
706 while (target != null &&
707 target.FileType == FileTypes.SymbolicLink) {
708 target = ((UnixSymbolicLinkInfo) target).GetContents ();
712 <exception cref="System.ArgumentException">
714 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
715 is not a symbolic link.
716 [<see cref="F:Mono.Unix.Native.Errno.EINVAL" />]
719 <exception cref="System.IO.DirectoryNotFoundException">
722 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
724 [<see cref="F:Mono.Unix.Native.Errno.ENOTDIR" />]
727 <exception cref="System.IO.FileNotFoundException">
729 <see cref="P:Mono.Unix.UnixFileSystemInfo.FullName" />
730 [<see cref="F:Mono.Unix.Native.Errno.ENOENT" />]
733 <exception cref="System.IO.IOException">
735 An I/O error occurred while reading from the file system.
736 [<see cref="F:Mono.Unix.Native.Errno.EIO" />]
739 <exception cref="System.IO.PathTooLongException">
741 A component of a pathname exceeded 255 characters,
742 or an entire path name exceeded 1023 characters.
743 [<see cref="F:Mono.Unix.Native.Errno.ENAMETOOLONG" />]
746 <exception cref="Mono.Unix.UnixIOException">
748 Search permission is denied for a component of the path prefix.
749 [<see cref="F:Mono.Unix.Native.Errno.EACCES" />]
753 Too many symbolic links were encountered in translating the pathname.
754 [<see cref="F:Mono.Unix.Native.Errno.ELOOP" />]
760 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
761 <AssemblyVersion>2.0.0.0</AssemblyVersion>
764 <Member MemberName="GetFileStatus">
765 <MemberSignature Language="C#" Value="protected override bool GetFileStatus (string path, out Mono.Unix.Native.Stat stat);" />
766 <MemberType>Method</MemberType>
768 <ReturnType>System.Boolean</ReturnType>
771 <Parameter Name="path" Type="System.String" />
772 <Parameter Name="stat" Type="Mono.Unix.Native.Stat&" RefType="out" />
775 <param name="path">To be added.</param>
776 <param name="stat">To be added.</param>
777 <summary>To be added.</summary>
778 <returns>To be added.</returns>
779 <remarks>To be added.</remarks>
782 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
783 <AssemblyVersion>2.0.0.0</AssemblyVersion>
786 <Member MemberName="HasContents">
787 <MemberSignature Language="C#" Value="public bool HasContents { get; }" />
788 <MemberType>Property</MemberType>
790 <ReturnType>System.Boolean</ReturnType>
794 Returns a <see cref="T:System.Boolean" /> indicating whether or not
795 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.Contents" />,
796 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.GetContents" />
798 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.ContentsPath" />
802 <see langword="true" /> if
803 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.Contents" />,
804 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.GetContents" /> and
805 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.ContentsPath" />
806 are valid (i.e. won't return <see langword="null" /> or generate an
807 exception); otherwise, <see langword="false" />.
811 This method is subject to race conditions in the file system --
812 it's entirely possible for the symlink to be modified or deleted
814 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.HasContents" />
816 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.Contents" />,
817 <see cref="M:Mono.Unix.UnixSymbolicLinkInfo.GetContents" />,
819 <see cref="P:Mono.Unix.UnixSymbolicLinkInfo.ContentsPath" />.
824 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
825 <AssemblyVersion>2.0.0.0</AssemblyVersion>
828 <Member MemberName="Name">
829 <MemberSignature Language="C#" Value="public override string Name { get; }" />
830 <MemberType>Property</MemberType>
832 <ReturnType>System.String</ReturnType>
835 <summary>To be added.</summary>
836 <value>To be added.</value>
837 <remarks>To be added.</remarks>
840 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
841 <AssemblyVersion>2.0.0.0</AssemblyVersion>
844 <Member MemberName="SetOwner">
845 <MemberSignature Language="C#" Value="public override void SetOwner (long owner, long group);" />
846 <MemberType>Method</MemberType>
848 <ReturnType>System.Void</ReturnType>
851 <Parameter Name="owner" Type="System.Int64" />
852 <Parameter Name="group" Type="System.Int64" />
855 <param name="owner">To be added.</param>
856 <param name="group">To be added.</param>
857 <summary>To be added.</summary>
858 <remarks>To be added.</remarks>
861 <AssemblyVersion>1.0.5000.0</AssemblyVersion>
862 <AssemblyVersion>2.0.0.0</AssemblyVersion>