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 void SetValueForKey(
bool value,
string key
)
Public Sub SetValueForKey ( _
value As Boolean, _
key As String _
)
public:
void SetValueForKey(
bool value,
String^ key
)
Parameters
- value (Boolean)
- The value for the property identified by key.
- key (String)
- 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)