NSFileManager.Link Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Link(NSUrl, NSUrl, NSError) |
Attempts to create a hard link between the specified NSUrls, returning success or failure and populating the error parameter. |
Link(String, String, NSError) |
Link(NSUrl, NSUrl, NSError)
Attempts to create a hard link between the specified NSUrls, returning success or failure and populating the error parameter.
[Foundation.Export("linkItemAtURL:toURL:error:")]
public virtual bool Link (Foundation.NSUrl srcUrl, Foundation.NSUrl dstUrl, out Foundation.NSError error);
abstract member Link : Foundation.NSUrl * Foundation.NSUrl * -> bool
override this.Link : Foundation.NSUrl * Foundation.NSUrl * -> bool
Parameters
- srcUrl
- NSUrl
- dstUrl
- NSUrl
- error
- NSError
Returns
- Attributes
Applies to
Link(String, String, NSError)
[Foundation.Export("linkItemAtPath:toPath:error:")]
public virtual bool Link (string srcPath, string dstPath, out Foundation.NSError error);
abstract member Link : string * string * -> bool
override this.Link : string * string * -> bool
Parameters
- srcPath
- String
- dstPath
- String
- error
- NSError
Returns
- Attributes