編集

次の方法で共有


NSPersistentStoreDescription.SetOption(NSObject, String) Method

Definition

Sets the option for the specified key.

[Foundation.Export("setOption:forKey:")]
public virtual void SetOption (Foundation.NSObject option, string key);
abstract member SetOption : Foundation.NSObject * string -> unit
override this.SetOption : Foundation.NSObject * string -> unit

Parameters

option
NSObject

The value of the option to set.

This parameter can be null.

key
String

The key for the value to set.

Attributes

Remarks

NSPersistentStoreCoordinator contains static properties that represent the option keys that are valid for this dictionary.

Applies to