共用方式為


NSFileManager.SetUbiquitous(Boolean, NSUrl, NSUrl, NSError) 方法

定義

嘗試設定位於指定 URL 的專案是否應該儲存在 iCloud 中、傳回成功或失敗,以及設定錯誤參數。

[Foundation.Export("setUbiquitous:itemAtURL:destinationURL:error:")]
public virtual bool SetUbiquitous (bool flag, Foundation.NSUrl url, Foundation.NSUrl destinationUrl, out Foundation.NSError error);
abstract member SetUbiquitous : bool * Foundation.NSUrl * Foundation.NSUrl *  -> bool
override this.SetUbiquitous : bool * Foundation.NSUrl * Foundation.NSUrl *  -> bool

參數

flag
Boolean
url
NSUrl
destinationUrl
NSUrl
error
NSError

傳回

屬性

適用於