Share via


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
属性

适用于