MonobjcMonobjc Documented Class Library
InitWithSet Method (set)
NamespacesMonobjc.FoundationNSSetInitWithSet(NSSet)

Initializes a newly allocated set and adds to it objects from another given set.

Original signature is '- (id)initWithSet:(NSSet *)set'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithSet(
	NSSet set
)
Public Overridable Function InitWithSet ( _
	set As NSSet _
) As Id
public:
virtual Id^ InitWithSet(
	NSSet^ set
)
Parameters
set (NSSet)
A set containing objects to add to the receiving set. Each object is retained as it is added.
Return Value
An initialized objects set containing the objects from set. The returned set might be different than the original receiver.
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)