MonobjcMonobjc Documented Class Library
SetWithArray Method (array)
NamespacesMonobjc.FoundationNSMutableSetSetWithArray(NSArray)

Creates and returns a set containing a uniqued collection of the objects contained in a given array.

Original signature is '+ (id)setWithArray:(NSArray *)array'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSMutableSet SetWithArray(
	NSArray array
)
Public Shared Function SetWithArray ( _
	array As NSArray _
) As NSMutableSet
public:
static NSMutableSet^ SetWithArray(
	NSArray^ array
)
Parameters
array (NSArray)
An array containing the objects to add to the new set. If the same object appears more than once in array, it is added only once to the returned set. Each object receives a retain message as it is added to the set.
Return Value
A new set containing a uniqued collection of the objects contained in array.
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)