MonobjcMonobjc Documented Class Library
SetValueForUndefinedKey Method (value, key)
NamespacesMonobjc.FoundationNSObjectSetValueForUndefinedKey(Id, NSString)

Invoked by setValue:forKey: when it finds no property for a given key.

Original signature is '- (void)setValue:(id)value forUndefinedKey:(NSString *)key'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetValueForUndefinedKey(
	Id value,
	NSString key
Public Overridable Sub SetValueForUndefinedKey ( _
	value As Id, _
	key As NSString _
virtual void SetValueForUndefinedKey(
	Id^ value, 
	NSString^ key
value (Id)
The value for the key identified by key.
key (NSString)
A string that is not equal to the name of any 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.Foundation (Module: Monobjc.Foundation)