Share via


NSManagedObject.SetPrimitiveValue(NSObject, String) Method

Definition

Sets the receiver's internal primitive value for the property that is specified by the provided key.

[Foundation.Export("setPrimitiveValue:forKey:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetPrimitiveValue(Foundation.NSObject? value, string key);
[<Foundation.Export("setPrimitiveValue:forKey:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetPrimitiveValue : Foundation.NSObject * string -> unit
override this.SetPrimitiveValue : Foundation.NSObject * string -> unit

Parameters

value
NSObject
key
String
Attributes

Applies to