Share via


NSManagedObject.SetValue(NSObject, String) Method

Definition

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

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

Parameters

value
NSObject
key
String
Attributes

Applies to