共用方式為


NSData.Save 方法

定義

多載

Save(String, Boolean, NSError)
Save(String, NSDataWritingOptions, NSError)
Save(NSUrl, Boolean, NSError)
Save(NSUrl, Boolean)
Save(String, Boolean)
Save(NSUrl, NSDataWritingOptions, NSError)

Save(String, Boolean, NSError)

public bool Save (string file, bool auxiliaryFile, out Foundation.NSError error);
member this.Save : string * bool *  -> bool

參數

file
String
auxiliaryFile
Boolean
error
NSError

傳回

適用於

Save(String, NSDataWritingOptions, NSError)

public bool Save (string file, Foundation.NSDataWritingOptions options, out Foundation.NSError error);
member this.Save : string * Foundation.NSDataWritingOptions *  -> bool

參數

file
String
error
NSError

傳回

適用於

Save(NSUrl, Boolean, NSError)

public bool Save (Foundation.NSUrl url, bool auxiliaryFile, out Foundation.NSError error);
member this.Save : Foundation.NSUrl * bool *  -> bool

參數

url
NSUrl
auxiliaryFile
Boolean
error
NSError

傳回

適用於

Save(NSUrl, Boolean)

[Foundation.Export("writeToURL:atomically:")]
public virtual bool Save (Foundation.NSUrl url, bool atomically);
abstract member Save : Foundation.NSUrl * bool -> bool
override this.Save : Foundation.NSUrl * bool -> bool

參數

url
NSUrl
atomically
Boolean

傳回

屬性

適用於

Save(String, Boolean)

[Foundation.Export("writeToFile:atomically:")]
public virtual bool Save (string path, bool atomically);
abstract member Save : string * bool -> bool
override this.Save : string * bool -> bool

參數

path
String
atomically
Boolean

傳回

屬性

適用於

Save(NSUrl, NSDataWritingOptions, NSError)

public bool Save (Foundation.NSUrl url, Foundation.NSDataWritingOptions options, out Foundation.NSError error);
member this.Save : Foundation.NSUrl * Foundation.NSDataWritingOptions *  -> bool

參數

url
NSUrl
error
NSError

傳回

適用於