CKRecordSavePolicy 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.
Enumerates policies that control when or if a record should be saved.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CKRecordSavePolicy
type CKRecordSavePolicy =
- Inheritance
-
CKRecordSavePolicy
- Attributes
Fields
Name | Value | Description |
---|---|---|
SaveIfServerRecordUnchanged | 0 | Do not save data if the record was changed after the local copy was created. |
SaveChangedKeys | 1 | Save values for all keys for which the data have changed. |
SaveAllKeys | 2 | Save data for all keys, regardless of whether the data have changed.. |