Edit

Share via


UIDocument.GetFileAttributesToWrite Method

Definition

A dictionary of file attributes to associate with this UIDocument when writing or updating it.

[Foundation.Export("fileAttributesToWriteToURL:forSaveOperation:error:")]
public virtual Foundation.NSDictionary GetFileAttributesToWrite (Foundation.NSUrl forUrl, UIKit.UIDocumentSaveOperation saveOperation, out Foundation.NSError outError);
abstract member GetFileAttributesToWrite : Foundation.NSUrl * UIKit.UIDocumentSaveOperation *  -> Foundation.NSDictionary
override this.GetFileAttributesToWrite : Foundation.NSUrl * UIKit.UIDocumentSaveOperation *  -> Foundation.NSDictionary

Parameters

forUrl
NSUrl

URL that indicates the location of a document file.

saveOperation
UIDocumentSaveOperation

This represents a constant indicating if a document file is being written for the first time or being overwritten.

outError
NSError

Error return value.

Returns

NSDictionary of file attributes.

Attributes

Remarks

This can be used from a background thread.

Applies to