Share via


NSManagedObject.ValidateForInsert(NSError) Method

Definition

Returns true if the receiver is valid for insertion.

[Foundation.Export("validateForInsert:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ValidateForInsert(out Foundation.NSError error);
[<Foundation.Export("validateForInsert:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ValidateForInsert : NSError -> bool
override this.ValidateForInsert : NSError -> bool

Parameters

error
NSError

Returns

Attributes

Applies to