Share via


UIDocumentSaveOperation Enum

Definition

An enumeration indicating whether the UIDocument is being saved for the first time or should overwrite an existing save.

[ObjCRuntime.Native]
public enum UIDocumentSaveOperation
[<ObjCRuntime.Native>]
type UIDocumentSaveOperation = 
Inheritance
UIDocumentSaveOperation
Attributes

Fields

Name Value Description
ForCreating 0

The UIDocument is being saved for the first time.

ForOverwriting 1

The existing version of the UIDocument is intended to be overwritten.

Remarks

One of these enumerated values is used as a parameter to UIDocuments various save-oriented functions (e.g., Save(NSUrl, UIDocumentSaveOperation, UIOperationHandler), GetFileAttributesToWrite(NSUrl, UIDocumentSaveOperation, NSError), etc.).

Applies to