UIDocumentSaveOperation
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
- Attributes
Fields
ForCreating ForCreating | 0 | The UIDocument is being saved for the first time. |
ForOverwriting 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
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...