共用方式為


NSManagedObject.SetPrimitiveValue(IntPtr, String) 方法

定義

設定所提供 key 之 屬性的接收者內部基本值。

[Foundation.Export("setPrimitiveValue:forKey:")]
public virtual void SetPrimitiveValue (IntPtr value, string key);
abstract member SetPrimitiveValue : nativeint * string -> unit
override this.SetPrimitiveValue : nativeint * string -> unit

參數

value
IntPtr

nativeint

key
String
屬性

適用於