Adds a given key-value pair to the map table.
Original signature is '- (void)setObject:(id)anObject forKey:(id)aKey'
Available in Mac OS X v10.5 and later.
Declaration Syntax
public virtual void SetObjectForKey(
Id anObject,
Id aKey
)
Public Overridable Sub SetObjectForKey ( _
anObject As Id, _
aKey As Id _
)
public:
virtual void SetObjectForKey(
Id^ anObject,
Id^ aKey
)
Parameters
- anObject (Id)
- The value for aKey. This value must not be nil.
- aKey (Id)
- The key for anObject. This value must not be nil.
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)