CKRecord.SetParent Method
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.
Overloads
| SetParent(CKRecord) |
Creates a parent-child relationship between |
| SetParent(CKRecordID) |
Creates a parent-child relationship between |
SetParent(CKRecord)
Creates a parent-child relationship between this and the specified parentRecord.
[Foundation.Export("setParentReferenceFromRecord:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void SetParent(CloudKit.CKRecord parentRecord);
abstract member SetParent : CloudKit.CKRecord -> unit
override this.SetParent : CloudKit.CKRecord -> unit
Parameters
- Attributes
Applies to
SetParent(CKRecordID)
Creates a parent-child relationship between this and that specified by parentRecordID.
[Foundation.Export("setParentReferenceFromRecordID:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void SetParent(CloudKit.CKRecordID parentRecordID);
abstract member SetParent : CloudKit.CKRecordID -> unit
override this.SetParent : CloudKit.CKRecordID -> unit
Parameters
- Attributes