MonobjcMonobjc Documented Class Library
InitWithKeyOptionsValueOptionsCapacity Method (keys, values, capacity)
NamespacesMonobjc.FoundationNSMapTableInitWithKeyOptionsValueOptionsCapacity(NSPointerFunctionsOptions, NSPointerFunctionsOptions, NSUInteger)

Returns a map table, initialized with the given options.

Original signature is '- (id)initWithKeyOptions:(NSPointerFunctionsOptions)keys valueOptions:(NSPointerFunctionsOptions)values capacity:(NSUInteger)capacity'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithKeyOptionsValueOptionsCapacity(
	NSPointerFunctionsOptions keys,
	NSPointerFunctionsOptions values,
	NSUInteger capacity
)
Public Overridable Function InitWithKeyOptionsValueOptionsCapacity ( _
	keys As NSPointerFunctionsOptions, _
	values As NSPointerFunctionsOptions, _
	capacity As NSUInteger _
) As Id
public:
virtual Id^ InitWithKeyOptionsValueOptionsCapacity(
	NSPointerFunctionsOptions keys, 
	NSPointerFunctionsOptions values, 
	NSUInteger capacity
)
Parameters
keys (NSPointerFunctionsOptions)
A bit field that specifies the options for the keys in the map table. For possible values, see “NSMapTableOptions”.
values (NSPointerFunctionsOptions)
A bit field that specifies the options for the values in the map table. For possible values, see “NSMapTableOptions”.
capacity (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 using the given options.
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)