Creates and returns a dictionary containing count objects from the objects array.
Original signature is '+ (id)dictionaryWithObjects:(id *)objects forKeys:(id *)keys count:(NSUInteger)count'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static NSDictionary DictionaryWithObjectsForKeysCount( IntPtr objects, IntPtr keys, NSUInteger count )
Public Shared Function DictionaryWithObjectsForKeysCount ( _ objects As IntPtr, _ keys As IntPtr, _ count As NSUInteger _ ) As NSDictionary
public: static NSDictionary^ DictionaryWithObjectsForKeysCount( IntPtr objects, IntPtr keys, NSUInteger count )
Parameters
- objects (IntPtr)
- A C array of values for the new dictionary.
- keys (IntPtr)
- A C array of keys for the new dictionary. Each key is copied (using copyWithZone:; keys must conform to the NSCopying protocol), and the copy is added to the new dictionary.
- count (NSUInteger)
- The number of elements to use from the keys and objects arrays. count must not exceed the number of elements in objects or keys.
Return Value
[Missing <returns> documentation for "M:Monobjc.Foundation.NSDictionary.DictionaryWithObjectsForKeysCount(System.IntPtr,System.IntPtr,Monobjc.Foundation.NSUInteger)"]
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)