MonobjcMonobjc Documented Class Library
SetWithCapacity Method (numItems)
NamespacesMonobjc.FoundationNSMutableSetSetWithCapacity(NSUInteger)

Creates and returns a mutable set with a given initial capacity.

Original signature is '+ (id)setWithCapacity:(NSUInteger)numItems'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id SetWithCapacity(
	NSUInteger numItems
)
Public Shared Function SetWithCapacity ( _
	numItems As NSUInteger _
) As Id
public:
static Id^ SetWithCapacity(
	NSUInteger numItems
)
Parameters
numItems (NSUInteger)
The initial capacity of the new set.
Return Value
A mutable set with initial capacity to hold numItems members.
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)