共用方式為


NSIncrementalStore.NewValue 方法

定義

傳回指定之關聯性資料的新關聯性。

[Foundation.Export("newValueForRelationship:forObjectWithID:withContext:error:")]
public virtual Foundation.NSObject NewValue (CoreData.NSRelationshipDescription forRelationship, CoreData.NSManagedObjectID forObjectI, CoreData.NSManagedObjectContext context, out Foundation.NSError error);
abstract member NewValue : CoreData.NSRelationshipDescription * CoreData.NSManagedObjectID * CoreData.NSManagedObjectContext *  -> Foundation.NSObject
override this.NewValue : CoreData.NSRelationshipDescription * CoreData.NSManagedObjectID * CoreData.NSManagedObjectContext *  -> Foundation.NSObject

參數

forRelationship
NSRelationshipDescription
forObjectI
NSManagedObjectID
context
NSManagedObjectContext

即將加入。

這個參數可以是 null

error
NSError

傳回

屬性

適用於