편집

다음을 통해 공유


NSFileManager.Link Method

Definition

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

Applies to