MonobjcMonobjc Documented Class Library
AddSymbolicLinkWithDestinationPreferredFilename Method (node, preferredFilename)
NamespacesMonobjc.AppKitNSFileWrapperAddSymbolicLinkWithDestinationPreferredFilename(NSString, NSString)

Creates a symbolic-link file wrapper pointing to a given file-system node and adds it to the receiver, which must be a directory file wrapper. (Deprecated in Mac OS X v10.6. Use addFileWrapper: instead.)

Original signature is '- (NSString *)addSymbolicLinkWithDestination:(NSString *)node preferredFilename:(NSString *)preferredFilename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6. Use addFileWrapper: instead.")]
public virtual NSString AddSymbolicLinkWithDestinationPreferredFilename(
	NSString node,
	NSString preferredFilename
<ObsoleteAttribute("Deprecated in Mac OS X v10.6. Use addFileWrapper: instead.")> _
Public Overridable Function AddSymbolicLinkWithDestinationPreferredFilename ( _
	node As NSString, _
	preferredFilename As NSString _
) As NSString
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6. Use addFileWrapper: instead.")]
virtual NSString^ AddSymbolicLinkWithDestinationPreferredFilename(
	NSString^ node, 
	NSString^ preferredFilename
node (NSString)
Pathname the new symbolic-link file wrapper is to reference.
preferredFilename (NSString)
Preferred filename for the new symbolic-link file wrapper.
Return Value
Dictionary key used to store the new file wrapper in the directory’s list of file wrappers. See “Working With Directory Wrappers” for more information.
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.AppKit (Module: Monobjc.AppKit)