Share via


NSManagedObject.ValidateValue(NSObject, String, NSError) Method

Definition

Returns true if the specified value is valid for the property that is identified by the specified key.

[Foundation.Export("validateValue:forKey:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ValidateValue(ref Foundation.NSObject value, string key, out Foundation.NSError error);
[<Foundation.Export("validateValue:forKey:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ValidateValue : NSObject * string * NSError -> bool
override this.ValidateValue : NSObject * string * NSError -> bool

Parameters

value
NSObject
key
String
error
NSError

Returns

Attributes

Applies to