MonobjcMonobjc Documented Class Library
DestinationOfSymbolicLinkAtPathError Method (path, error)
NamespacesMonobjc.FoundationNSFileManagerDestinationOfSymbolicLinkAtPathError(NSString, NSError%)

Returns the path of the item pointed to by a symbolic link.

Original signature is '- (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)path error:(NSError **)error'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString DestinationOfSymbolicLinkAtPathError(
	NSString path,
	out NSError error
)
Public Overridable Function DestinationOfSymbolicLinkAtPathError ( _
	path As NSString, _
	<OutAttribute> ByRef error As NSError _
) As NSString
public:
virtual NSString^ DestinationOfSymbolicLinkAtPathError(
	NSString^ path, 
	[OutAttribute] NSError^% error
)
Parameters
path (NSString)
The path of a file or directory.
error (NSError%)
If an error occurs, upon return contains an NSError object that describes the problem. Pass NULL if you do not want error information.
Return Value
An NSString object containing the path of the directory or file to which the symbolic link path refers, or nil upon failure. If the symbolic link is specified as a relative path, that relative path is returned.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)