Share via


CKRecord.SetParent メソッド

定義

オーバーロード

SetParent(CKRecord)

と指定した の間 this に親子関係を作成します parentRecord

SetParent(CKRecordID)

で指定された と の間 this に親子関係を作成 parentRecordIDします。

SetParent(CKRecord)

と指定した の間 this に親子関係を作成します 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

パラメーター

parentRecord
CKRecord

追加する。

このパラメーターは、null に設定できます。

属性

適用対象

SetParent(CKRecordID)

で指定された と の間 this に親子関係を作成 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

パラメーター

parentRecordID
CKRecordID

追加する。

このパラメーターは、null に設定できます。

属性

適用対象