MonobjcMonobjc Documented Class Library
SetPrimitiveValueForKey Method (value, key)
NamespacesMonobjc.CoreDataNSManagedObjectSetPrimitiveValueForKey(Id, NSString)

Sets in the receiver's private internal storage the value of a given property.

Original signature is '- (void)setPrimitiveValue:(id)value forKey:(NSString *)key'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetPrimitiveValueForKey(
	Id value,
	NSString key
)
Public Overridable Sub SetPrimitiveValueForKey ( _
	value As Id, _
	key As NSString _
)
public:
virtual void SetPrimitiveValueForKey(
	Id^ value, 
	NSString^ key
)
Parameters
value (Id)
The new value for the property specified by key.
key (NSString)
The name of one of the receiver's properties.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)