UIDocumentSaveOperation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.).