Share via


NSManagedObjectContext.ObtainPermanentIDsForObjects Method

Definition

Converts the objec identifiers to permanent identifiers for the provided objects. Returns true if all of the identifiers were converted.

[Foundation.Export("obtainPermanentIDsForObjects:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ObtainPermanentIDsForObjects(CoreData.NSManagedObject[] objects, out Foundation.NSError error);
[<Foundation.Export("obtainPermanentIDsForObjects:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ObtainPermanentIDsForObjects : CoreData.NSManagedObject[] * NSError -> bool
override this.ObtainPermanentIDsForObjects : CoreData.NSManagedObject[] * NSError -> bool

Parameters

objects
NSManagedObject[]
error
NSError

Returns

Attributes

Applies to