共用方式為


NSAtomicStore.ObjectIDForEntity(NSEntityDescription, NSObject) 方法

定義

[Foundation.Export("objectIDForEntity:referenceObject:")]
public virtual CoreData.NSManagedObjectID ObjectIDForEntity (CoreData.NSEntityDescription entity, Foundation.NSObject data);
abstract member ObjectIDForEntity : CoreData.NSEntityDescription * Foundation.NSObject -> CoreData.NSManagedObjectID
override this.ObjectIDForEntity : CoreData.NSEntityDescription * Foundation.NSObject -> CoreData.NSManagedObjectID

參數

data
NSObject

傳回

屬性

適用於