MonobjcMonobjc Documented Class Library
AllKeysForObject Method (anObject)
NamespacesMonobjc.FoundationNSDictionaryAllKeysForObject(Id)

Returns a new array containing the keys corresponding to all occurrences of a given object in the dictionary.

Original signature is '- (NSArray *)allKeysForObject:(id)anObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray AllKeysForObject(
	Id anObject
)
Public Overridable Function AllKeysForObject ( _
	anObject As Id _
) As NSArray
public:
virtual NSArray^ AllKeysForObject(
	Id^ anObject
)
Parameters
anObject (Id)
The value to look for in the dictionary.
Return Value
A new array containing the keys corresponding to all occurrences of anObject in the dictionary. If no object matching anObject is found, returns an empty array.
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)