편집

다음을 통해 공유


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