CKRecord.SetParent Method

Definition

Overloads

SetParent(CKRecord)

Creates a parent-child relationship between this and the specified parentRecord.

SetParent(CKRecordID)

Creates a parent-child relationship between this and that specified by parentRecordID.

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

parentRecord
CKRecord

To be added.

This parameter can be null.

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

parentRecordID
CKRecordID

To be added.

This parameter can be null.

Attributes

Applies to