Edytuj

Udostępnij za pośrednictwem


NSData.Save Method

Definition

Overloads

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

Parameters

file
String
auxiliaryFile
Boolean
error
NSError

Returns

Applies to

Save(String, NSDataWritingOptions, NSError)

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

Parameters

file
String
error
NSError

Returns

Applies to

Save(NSUrl, Boolean, NSError)

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

Parameters

url
NSUrl
auxiliaryFile
Boolean
error
NSError

Returns

Applies to

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

Parameters

url
NSUrl
atomically
Boolean

Returns

Attributes

Applies to

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

Parameters

path
String
atomically
Boolean

Returns

Attributes

Applies to

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

Parameters

url
NSUrl
error
NSError

Returns

Applies to