UIDocumentSaveOperation Enum

Definition

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

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIDocumentSaveOperation
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