共用方式為


NSFileManagerDelegate.ShouldCopyItemAtPath 方法

定義

多載

ShouldCopyItemAtPath(NSFileManager, NSString, NSString)

建立這個 物件的複本,從指定的區域配置記憶體,如果引數為 Null,則從預設區域配置記憶體。

ShouldCopyItemAtPath(NSFileManager, String, String)

ShouldCopyItemAtPath(NSFileManager, NSString, NSString)

建立這個 物件的複本,從指定的區域配置記憶體,如果引數為 Null,則從預設區域配置記憶體。

[Foundation.Export("fileManager:shouldCopyItemAtPath:toPath:")]
public virtual bool ShouldCopyItemAtPath (Foundation.NSFileManager fm, Foundation.NSString srcPath, Foundation.NSString dstPath);
abstract member ShouldCopyItemAtPath : Foundation.NSFileManager * Foundation.NSString * Foundation.NSString -> bool
override this.ShouldCopyItemAtPath : Foundation.NSFileManager * Foundation.NSString * Foundation.NSString -> bool

參數

srcPath
NSString
dstPath
NSString

傳回

屬性

適用於

ShouldCopyItemAtPath(NSFileManager, String, String)

public virtual bool ShouldCopyItemAtPath (Foundation.NSFileManager fileManager, string srcPath, string dstPath);
abstract member ShouldCopyItemAtPath : Foundation.NSFileManager * string * string -> bool
override this.ShouldCopyItemAtPath : Foundation.NSFileManager * string * string -> bool

參數

fileManager
NSFileManager
srcPath
String
dstPath
String

傳回

適用於