MonobjcMonobjc Documented Class Library
InitWithOptionsCapacity Method (options, capacity)
NamespacesMonobjc.FoundationNSHashTableInitWithOptionsCapacity(NSPointerFunctionsOptions, NSUInteger)

Returns a hash table initialized with the given attributes.

Original signature is '- (id)initWithOptions:(NSPointerFunctionsOptions)options capacity:(NSUInteger)capacity'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithOptionsCapacity(
	NSPointerFunctionsOptions options,
	NSUInteger capacity
)
Public Overridable Function InitWithOptionsCapacity ( _
	options As NSPointerFunctionsOptions, _
	capacity As NSUInteger _
) As Id
public:
virtual Id^ InitWithOptionsCapacity(
	NSPointerFunctionsOptions options, 
	NSUInteger capacity
)
Parameters
options (NSPointerFunctionsOptions)
A bit field that specifies the options for the elements in the hash table. For possible values, see “Hash Table Options”.
capacity (NSUInteger)
The initial number of elements the hash table can hold.
Return Value
A hash table initialized with options specified by options and initial capacity of capacity.
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)