Sets the property of the receiver specified by a given key to a given value.
Original signature is '- (void)setValue:(id)value forKey:(NSString *)key'
Available in Mac OS X v10.3 and later.
Declaration Syntax
public virtual void SetValueForKey(
Id value,
NSString key
)
Public Overridable Sub SetValueForKey ( _
value As Id, _
key As NSString _
)
public:
virtual void SetValueForKey(
Id^ value,
NSString^ key
)
Parameters
- value (Id)
- The value for the property identified 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.Foundation (Module: Monobjc.Foundation)