Share via


NSPersistentStoreDescription.SetValue(NSObject, String) Method

Definition

Sets the value for the specified option name.

[Foundation.Export("setValue:forPragmaNamed:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetValue(Foundation.NSObject? value, string name);
[<Foundation.Export("setValue:forPragmaNamed:")>]
[<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

The value to set.

This parameter can be null.

name
String
Attributes

Applies to