Returns a map table, initialized with the given functions.
Original signature is '- (id)initWithKeyPointerFunctions:(NSPointerFunctions *)keyFunctions valuePointerFunctions:(NSPointerFunctions *)valueFunctions capacity:(NSUInteger)initialCapacity'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSMapTable( NSPointerFunctions keyFunctions, NSPointerFunctions valueFunctions, NSUInteger initialCapacity )
Public Sub New ( _ keyFunctions As NSPointerFunctions, _ valueFunctions As NSPointerFunctions, _ initialCapacity As NSUInteger _ )
public: NSMapTable( NSPointerFunctions^ keyFunctions, NSPointerFunctions^ valueFunctions, NSUInteger initialCapacity )
Parameters
- keyFunctions (NSPointerFunctions)
- The functions the map table uses to manage keys.
- valueFunctions (NSPointerFunctions)
- The functions the map table uses to manage values.
- initialCapacity (NSUInteger)
- The initial capacity of the map table. This is just a hint; the map table may subsequently grow and shrink as required.
Return Value
A map table, initialized with the given functions.
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)