NSManagedObjectContext.GetExistingObject(NSManagedObjectID, NSError) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Fetches an object with a specified id.
[Foundation.Export("existingObjectWithID:error:")]
public virtual CoreData.NSManagedObject GetExistingObject (CoreData.NSManagedObjectID objectID, out Foundation.NSError error);
abstract member GetExistingObject : CoreData.NSManagedObjectID * -> CoreData.NSManagedObject
override this.GetExistingObject : CoreData.NSManagedObjectID * -> CoreData.NSManagedObject
Parameters
- objectID
- NSManagedObjectID
The object ID of object to fetch.
- error
- NSError
On error, this will contain the error information.
Returns
The object with the associated ID, or null if the object does not exist, or can not be retrieved.
- Attributes